RoxanaSz / text2onto

Automatically exported from code.google.com/p/text2onto
0 stars 0 forks source link

Continued issues installing text2onto #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Despite all attempts and following all the suggestions on listed here I 
continue to get the NoSuchMethodError from the eclipse jdt compiler.

What version of the product are you using? On what operating system?
I have tried this with all 3 of the standalone versions available for download.

This is on windows 7.

I have installed GATE 4.0 in
c:/GATE-4.0

I have verified that the jasper-compiler-jdt.jar files are identical as shown 
below:
David Boyd@DavidBoyd-New /cygdrive/c/text2onto
$ md5sum 3rdparty/gate/jasper-compiler-jdt.jar
ca4daec0250574bdc1f599307e15ca73 *3rdparty/gate/jasper-compiler-jdt.jar

David Boyd@DavidBoyd-New /cygdrive/c/text2onto
$ md5sum /cygdrive/c/GATE-4.0/lib/jasper-compiler-jdt.jar
ca4daec0250574bdc1f599307e15ca73 
*/cygdrive/c/GATE-4.0/lib/jasper-compiler-jdt.jar

My java version:
$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode)

Here is the properties file:
$ cat text2onto.properties
language=english
gate_dir=c:/text2onto/3rdparty/gate/
gate_app=application.gate
jape_main=main.jape
stop_file=stopwords.txt
creole_dir=c:/text2onto/3rdparty/gate/
jwnl_properties=c:/text2onto/3rdparty/jwnl/file_properties.xml
temp_corpus=c:/temp/text2onto/
icons=c:/text2onto/icons/
datastore=serial
tagger_dir=f:/treetagger/bin/
spanish_wn_dir=f:/wordnet_es/

Here is the bat command output:
David Boyd@DavidBoyd-New /cygdrive/c/text2onto
$ ./Text2Onto.bat

C:\text2onto>set T2O=c:\text2onto

C:\text2onto>set LIB=c:\text2onto\3rdparty

C:\text2onto>set GATE=c:/GATE-4.0

C:\text2onto>set 
t2o_classpath=c:\text2onto\build\bin\new;c:\text2onto\3rdparty\gate\gate.jar;c:\
text2onto\3rdparty\gate\ontotext.jar;c:\text2onto\3rdparty\gate\jasper-compiler-
jdt.jar;c:\text2onto\3rdparty\gate\heptag.jar;c:\text2onto\3rdparty\gate\xstream
-1.2.jar;c:\text2onto\3rdparty\gate\nekohtml-0.9.5.jar;c:\text2onto\3rdparty\gat
e\xercesImpl.jar;c:\text2onto\3rdparty\gate\xpp3-1.1.3.3_min.jar;c:\text2onto\3r
dparty\gnu-regexp-1.0.8.jar;c:\text2onto\3rdparty\jdom.jar;c:\text2onto\3rdparty
\jgraph\jgraphaddons.jar;c:\text2onto\3rdparty\eclipse\workbench.jar;c:\text2ont
o\3rdparty\jwnl\jwnl.jar;c:\text2onto\3rdparty\commons-logging.jar;c:\text2onto\
3rdparty\kaon\kaonapi.jar;c:\text2onto\3rdparty\kaon\apionrdf.jar;c:\text2onto\3
rdparty\kaon\rdfapi.jar;c:\text2onto\3rdparty\kaon\query.jar;c:\text2onto\3rdpar
ty\kaon\datalog.jar;c:\text2onto\3rdparty\kaon2\kaon2.jar;c:\text2onto\3rdparty\
aclibico.jar;c:\text2onto\3rdparty\PDFBox-0.7.2.jar;c:\text2onto\3rdparty\log4j-
1.2.11.jar;c:\text2onto\3rdparty\database\postgresql-8.0-312.jdbc3.jar;c:\text2o
nto\3rdparty\database\orajdbc9i.zip;c:\text2onto\3rdparty\junit.jar;

C:\text2onto>rem d:

C:\text2onto>rem cd \postgresql8\skripte\gate

C:\text2onto>rem psql -d database -U postgres -f createDB.script

C:\text2onto>rem g:

C:\text2onto>rem cd c:\text2onto

C:\text2onto>java -ms512M -mx512M -Dgate.home=c:/GATE-4.0 
-Dgate.config=c:/GATE-4.0/gate.xml -Dgate.plugins.home=c:/GATE-4.0/plugins 
-Dload.plugin.path=file:/c:/GATE-4.0/plugins/ANNIE -cp 
c:\text2onto\build\bin\new;c:\text2onto\3rdparty\gate\gate.jar;c:\text2onto\3rdp
arty\gate\ontotext.jar;c:\text2onto\3rdparty\gate\jasper-compiler-jdt.jar;c:\tex
t2onto\3rdparty\gate\heptag.jar;c:\text2onto\3rdparty\gate\xstream-1.2.jar;c:\te
xt2onto\3rdparty\gate\nekohtml-0.9.5.jar;c:\text2onto\3rdparty\gate\xercesImpl.j
ar;c:\text2onto\3rdparty\gate\xpp3-1.1.3.3_min.jar;c:\text2onto\3rdparty\gnu-reg
exp-1.0.8.jar;c:\text2onto\3rdparty\jdom.jar;c:\text2onto\3rdparty\jgraph\jgraph
addons.jar;c:\text2onto\3rdparty\eclipse\workbench.jar;c:\text2onto\3rdparty\jwn
l\jwnl.jar;c:\text2onto\3rdparty\commons-logging.jar;c:\text2onto\3rdparty\kaon\
kaonapi.jar;c:\text2onto\3rdparty\kaon\apionrdf.jar;c:\text2onto\3rdparty\kaon\r
dfapi.jar;c:\text2onto\3rdparty\kaon\query.jar;c:\text2onto\3rdparty\kaon\datalo
g.jar;c:\text2onto\3rdparty\kaon2\kaon2.jar;c:\text2onto\3rdparty\aclibico.jar;c
:\text2onto\3rdparty\PDFBox-0.7.2.jar;c:\text2onto\3rdparty\log4j-1.2.11.jar;c:\
text2onto\3rdparty\database\postgresql-8.0-312.jdbc3.jar;c:\text2onto\3rdparty\d
atabase\orajdbc9i.zip;c:\text2onto\3rdparty\junit.jar; 
org.ontoware.text2onto.gui.Text2Onto
loading settings from file C:\text2onto/text2onto.properties

Preprocessor.init
Using c:\GATE-4.0 as GATE home
Using c:\GATE-4.0\plugins as installed plug-ins directory.
Using c:\GATE-4.0\gate.xml as site configuration file.
Using C:\Users\David Boyd\gate.xml as user configuration file
Using C:\Users\David Boyd\gate.session as user session file
CREOLE plugin loaded: file:/c:/GATE-4.0/plugins/ANNIE/

LinguisticPreprocessor.init: file:c://text2onto/3rdparty/gate/
CREOLE plugin loaded: file:c://text2onto/3rdparty/gate/
CREOLE plugin loaded: file:c:/GATE-4.0/plugins/Tools/
CREOLE plugin loaded: file:c:/GATE-4.0/plugins/Stemmer/
LinguisticPreprocessor: creating application 
c://text2onto/3rdparty/gate/english/application.gate ...
gate.creole.annotdelete.AnnotationDeletePR
gate.creole.tokeniser.DefaultTokeniser
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 
org.eclipse.jdt.internal.compiler.Compiler.<init>(Lorg/eclipse/jdt/internal/comp
iler/env/INameEnvironment;Lorg/eclipse/jdt/internal/compiler/IErrorHandlingPolic
y;Lorg/eclipse/jdt/internal/compiler/impl/CompilerOptions;Lorg/eclipse/jdt/inter
nal/compiler/ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/IProblemFacto
ry;)V
        at gate.util.compilers.Eclipse.compile(Eclipse.java:357)
        at gate.util.Javac.loadClasses(Javac.java:45)
        at gate.jape.SinglePhaseTransducer.finish(SinglePhaseTransducer.java:153)
        at gate.jape.MultiPhaseTransducer.finish(MultiPhaseTransducer.java:122)
        at gate.jape.Batch.parseJape(Batch.java:212)
        at gate.jape.Batch.<init>(Batch.java:80)
        at gate.creole.Transducer.init(Transducer.java:83)
        at gate.Factory.createResource(Factory.java:302)
        at gate.Factory.createResource(Factory.java:117)
        at gate.creole.tokeniser.DefaultTokeniser.init(DefaultTokeniser.java:72)
        at gate.Factory.createResource(Factory.java:302)
        at gate.Factory.createResource(Factory.java:97)
        at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.createApplication(Unknown Source)
        at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.initApplication(Unknown Source)
        at org.ontoware.text2onto.linguistic.LinguisticPreprocessor.init(Unknown Source)
        at org.ontoware.text2onto.linguistic.LinguisticAnalyser.<init>(Unknown Source)
        at org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown Source)
        at org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto.reset(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto.<init>(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto.createAndShowGUI(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto.access$000(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto$1.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Original issue reported on code.google.com by byteme...@gmail.com on 5 Jul 2013 at 7:28