RoxanaSz / text2onto

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

Problem installing last text2onto standalone version #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Im using the last standalone version of text2onto on Windows Xp Home 
Edition and i have java 1.6 update 16

Please provide any additional information below.

I get a java Exception when i try to run the text2onto.bat after installing
it following the readme instructions. heres the complete output of the 
problem:

C:\text2onto>Text2Onto.bat
loading settings from file C:\text2onto/text2onto.properties

Preprocessor.init
Using C:\Archivos de programa\GATE-4.0 as GATE home
Using C:\Archivos de programa\GATE-4.0\plugins as installed plug-ins 
directory.
Using C:\Archivos de programa\GATE-4.0\gate.xml as site configuration file.
Using C:\Documents and Settings\Juan Sebastian\gate.xml as user 
configuration fi
le
Using C:\Documents and Settings\Juan Sebastian\gate.session as user session 
file

CREOLE plugin loaded: file:/C:/Archivos de programa/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:/Archivos de programa/GATE-4.0/plugins/Tools/
CREOLE plugin loaded: file:C:/Archivos de programa/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/compiler/en
v/INa
meEnvironment;Lorg/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Lorg/
eclip
se/jdt/internal/compiler/impl/CompilerOptions;Lorg/eclipse/jdt/internal/com
piler
/ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)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.createApplic
ation(Unknown Source)
        at 
org.ontoware.text2onto.linguistic.LinguisticPreprocessor.initApplicat
ion(Unknown Source)
        at 
org.ontoware.text2onto.linguistic.LinguisticPreprocessor.init(Unknown
 Source)
        at 
org.ontoware.text2onto.linguistic.LinguisticAnalyser.<init>(Unknown S
ource)
        at 
org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown S
ource)
        at 
org.ontoware.text2onto.algorithm.AlgorithmController.<init>(Unknown S
ource)
        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.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)

Hope u help me
Thank you so much!

Original issue reported on code.google.com by M1rg0vki...@gmail.com on 26 Jan 2010 at 6:48

GoogleCodeExporter commented 9 years ago
sup guys
I just figured it out by myself.

I had to replace the file named jasper-compiler-jdt.jar at the gates/lib 
directory for 
the one at text2onto/3rdparty/gate directory

hope it helps anyone :)

Original comment by M1rg0vki...@gmail.com on 30 Jan 2010 at 4:49

GoogleCodeExporter commented 9 years ago
Thanks!   Your fix worked great.   Appreciate it!

Original comment by georgemi...@comcast.net on 24 Feb 2010 at 2:05

GoogleCodeExporter commented 9 years ago
hehe np, i recomend you guys to download the older standalone version, the 
newest still 
has problems with some dependences, kaon2 is one of em :D

Original comment by M1rg0vki...@gmail.com on 24 Feb 2010 at 3:25

GoogleCodeExporter commented 9 years ago
"I had to replace the file named jasper-compiler-jdt.jar at the gates/lib 
directory
for the one at text2onto/3rdparty/gate directory"
may i know how to replace it?

Original comment by keano0...@gmail.com on 28 Feb 2010 at 5:51

GoogleCodeExporter commented 9 years ago
yea, u have to copy the file at GATE-4.0/lib called "jasper-compiler-jdt.jar" 
and
paste it at text2onto/3rdparty/gate, it will ask you if wanna replace that file 
in
there, just say yes

Original comment by M1rg0vki...@gmail.com on 1 Mar 2010 at 3:36

GoogleCodeExporter commented 9 years ago
I am using GATE-6.0, and there is no such jar file in the GATE-6.0/lib 
directory.

Original comment by Bodong.C...@gmail.com on 2 May 2011 at 7:51

GoogleCodeExporter commented 9 years ago
@Bodong you have to use GATE 4.0 as it says in "..\Text2Onto\readme.txt".  Then 
it should work like a charm :)  Good luck.

Original comment by nooeu...@yahoo.com on 22 Mar 2012 at 4:52

GoogleCodeExporter commented 9 years ago
modifying the text2onto.properties file, changing the slashes (\) to (/) can 
also help

Original comment by motswi...@gmail.com on 21 May 2012 at 3:00

GoogleCodeExporter commented 9 years ago
Hello, I am new to text-to-onto and it seems like I can not install it. Please 
if anyone could help me that would be great

Original comment by HebaBad...@gmail.com on 22 Jul 2012 at 3:37

GoogleCodeExporter commented 9 years ago
I already copied the file from GATE-4.0/lib and
pasted it at text2onto/3rdparty/gate and I still get the same error :S. help 
plz :(

Original comment by HebaBad...@gmail.com on 1 Aug 2012 at 3:19

GoogleCodeExporter commented 9 years ago
hey i am trying to install text2onto for windows standalone. I have followed 
the instruction as per README . but still getting output as follows.
what should i do now? 

ERROR :

C:\text2onto>Text2Onto.bat
loading settings from file C:\text2onto/text2onto.properties

Preprocessor.init
Using C:\text2onto\3rdparty\gate as GATE home
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        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.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)
C:\text2onto>

i have tried above solution also replacing of file "jasper-compiler-jdt.jar "

Original comment by tupiha...@gmail.com on 15 Feb 2013 at 6:59

GoogleCodeExporter commented 9 years ago
The Key issue in installing text2Onto is to stick with the mentioned software 
versions
i.e wordnet 2.0 not 2.1 or any other versions. Also Gate 4.0 not anything else. 
then, copy "jasper-compiler-jdt" from <Gate-dir>/lib to <text2onto-dir> 
3rdparty\gate. this will replace the original jasper-compiler-jdt file. now 
enjoy with Text2Onto

Original comment by safwan.s...@gmail.com on 17 May 2014 at 4:33