illinois-ml-nlp-users AT lists.siebelschool.illinois.edu
Subject: Support for users of CCG software closed 7-27-20
List archive
- From: Sean Dunagan <dunagan5887 AT gmail.com>
- To: illinois-ml-nlp-users AT cs.uiuc.edu
- Subject: [Illinois-ml-nlp-users] LBJ POS Tagger in Windows Environment
- Date: Sat, 12 Mar 2011 21:38:12 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users>
- List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>
I am trying to use the edu.illinois.cs.cogcomp.lbj.pos.POSTagPlain application with the LBJPOS.jar file.
The command I am running is:
java -classpath LBJPOS.jar:LBJ2Library.jar edu.illinois.cs.cogcomp.lbj.pos.POSTagPlain input_file
When I run this command in the Linux environment, it works fine. However, when I run the command in a Windows environment, I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: edu/illinois/cs/cogco
mp/lbj/pos/POSTagPlain
Caused by: java.lang.ClassNotFoundException: edu.illinois.cs.cogcomp.lbj.pos.POS
TagPlain
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
Could not find the main class: edu.illinois.cs.cogcomp.lbj.pos.POSTagPlain. Pro
gram will exit.
The LBJPOS.jar and LBJ2Library.jar files are both in the directory I'm trying to run this command from.
Is the jar file only built to run in the Linux environment?
Thank you very much for your time and help.
- [Illinois-ml-nlp-users] LBJ POS Tagger in Windows Environment, Sean Dunagan, 03/12/2011
- Re: [Illinois-ml-nlp-users] LBJ POS Tagger in Windows Environment, Nicholas Rizzolo, 03/13/2011
Archive powered by MHonArc 2.6.16.