You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Rogan Creswick <cr...@gmail.com> on 2009/09/04 18:50:09 UTC

Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/uima/tools/cvd/CVD

On Fri, Sep 4, 2009 at 5:55 AM, marius <ma...@yahoo.de> wrote:
> Hello
>
> I'm trying to make the tutorial "
> Getting Started: Writing My First UIMA Annotator" and
> if I want to test my annotator I get this message:

What command are you running to get this exception? Are you using the
cvd.bat (or cvd.sh) in the uima bin directory?

It looks like you're just missing a classpath entry.

--Rogan

> ""
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/uima/tools/cvd/CVD
> Caused by: java.lang.ClassNotFoundException:
> org.apache.uima.tools.cvd.CVD
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
> Could not find the main class: org.apache.uima.tools.cvd.CVD. Program
> will exit.
> ""
>
> can someone help me
>
> Thanks
>
> Marius
>
>
>
>
>

Re: Exception in thread

Posted by marius <ma...@yahoo.de>.

Don't you worry about my java skills..



Re: Exception in thread

Posted by Thilo Goetz <tw...@gmx.de>.
marius wrote:
> 
> 
> 
> Hello Rogan	
> 
> I do everything in eclipse just like on the site is...
> 
> marius 
> 
> 
> 

No offense, but you wish to read this:
http://catb.org/~esr/faqs/smart-questions.html

Also try to get familiar with Java and Eclipse
first.  There are tons of Java tutorials on the
web, and Eclipse comes with an excellent tutorial
and help.

--Thilo

Re: Exception in thread

Posted by Marshall Schor <ms...@schor.com>.

marius wrote:
>
> org.apache.uima.tools.cvd.CVD
>   
Instructions for starting the CVD with the right classpath are here:
http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/tools/tools.html#ugr.cvd.introduction.running

I hope this helps.  -Marshall
>
>
>   

Re: Exception in thread

Posted by marius <ma...@yahoo.de>.


org.apache.uima.tools.cvd.CVD


Re: Exception in thread

Posted by Marshall Schor <ms...@schor.com>.
Hi Marius,

Can you please post the command you used to start java to run the CVD? 
-Marshall

marius wrote:
>
>
> Hello Rogan	
>
> I do everything in eclipse just like on the site is...
>
> marius 
>
>
>
>
>
>
>   

Re: Exception in thread

Posted by marius <ma...@yahoo.de>.



Hello Rogan	

I do everything in eclipse just like on the site is...

marius