Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gate.util.GateException: couldn't open creole.xml #31

Open
ArunPrasaath opened this issue Jun 13, 2017 · 1 comment
Open

gate.util.GateException: couldn't open creole.xml #31

ArunPrasaath opened this issue Jun 13, 2017 · 1 comment

Comments

@ArunPrasaath
Copy link

Hi Antony,
Thanks for the parser, it was working great whenever i process resume directly in the powershell. But
when i import the project(Resume Transducer) in eclipse, and tried to run the project am getting the following error at

Could not reload creole directory file:/D:/ResumeParser/GATEFiles/plugins/ANNIE/
gate.util.GateException: couldn't open creole.xml
at gate.creole.CreoleRegisterImpl.registerDirectories(CreoleRegisterImpl.java:299)
at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:921)
at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:841)
at code4goal.antony.resumeparser.Annie.initAnnie(Annie.java:38)
at code4goal.antony.resumeparser.ResumeParserProgram.loadGateAndAnnie(ResumeParserProgram.java:105)
at code4goal.antony.resumeparser.ResumeParserProgram.main(ResumeParserProgram.java:286)

@ the line of the code in Annie.java annieController = (CorpusController) PersistenceManager.loadObjectFromFile(annieGapp);
I don't know much about how to resolve this above error, since i don't have much experience in using external JAR like Annie.

@SebastianCaceres
Copy link

SebastianCaceres commented Aug 20, 2017

I'm having the same problem, it seems that the root cause has to do something with the ParserException class in the lucene-core.

`log4j:WARN No appenders could be found for logger (org.apache.pdfbox.pdfparser.PDFObjectStreamParser).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Initialising basic system...
...basic system initialised
Initialising processing engine...
Could not reload creole directory file:/C:/tmp/ResumeSearch/ResumeParser/GATEFiles/plugins/Information_Retrieval/
gate.util.GateException: couldn't open creole.xml
at gate.creole.CreoleRegisterImpl.registerDirectories(CreoleRegisterImpl.java:299)
at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:911)
at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:831)
at code4goal.antony.resumeparser.Annie.initAnnie(Annie.java:40)

........

Caused by: java.lang.ClassNotFoundException: org.apache.lucene.queryParser.ParseException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 23 more`

UPDATE:

I was able to fix it by loading the latest Lucene Core .jar (6.6.0) unto the \ResumeParser\GATEFiles\plugins\Information_Retrieval\lib folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants