Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-09 Thread Thomas Chang
You are absolutellly right! The pom.xml is used since a long time from JDK 1.5. I am too lazy to update it. :-/ --- Stephen Coy schrieb am Fr, 9.9.2011: Von: Stephen Coy Betreff: Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath An: "Maven Use

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-09 Thread Stephen Coy
05 PM, Thomas Chang wrote: > But using the option -X doesn't tell me to move the into the > section, right? :-/ > > > > --- Wayne Fay schrieb am Do, 8.9.2011: > > Von: Wayne Fay > Betreff: Re: Get "java.lang.NoClassDefFoundError" though the class is i

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-08 Thread Thomas Chang
But using the option -X doesn't tell me to move the into the section, right? :-/ --- Wayne Fay schrieb am Do, 8.9.2011: Von: Wayne Fay Betreff: Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath An: "Maven Users List" Datum: Donnerst

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-08 Thread Wayne Fay
> You are right. After I move the dependency into the plugin section, it works. For future use, the -X is a parameter that turns on debug mode. So instead of "mvn compile" you run "mvn -X compile". The error message you got said basically "you didn't tell me what to do with this project so I will

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-08 Thread Thomas Chang
Hi, You are right. After I move the dependency into the plugin section, it works. Many thanks! Thomas --- Wayne Fay schrieb am Mi, 7.9.2011: Von: Wayne Fay Betreff: Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath An: "Maven Users List"

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-08 Thread Thomas Chang
reff: Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath An: "Maven Users List" Datum: Mittwoch, 7. September, 2011 16:18 Uhr > I know the class "com.sun.mirror.apt.AnnotationProcessorFactory" is in the > tools.jar so I've add the dependenc

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-07 Thread Wayne Fay
> I know the class "com.sun.mirror.apt.AnnotationProcessorFactory" is in the > tools.jar so I've add the dependency in the pom.xml as follow: > >             C:/Program > Files/Java/jdk1.7.0/lib/tools.jar > > As I run mvn dependency:build-classpath to check the included jars I can see > the tool

Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-07 Thread Thomas Chang
Hi all, As I run mvn clean install I got exception as follow: ... [INFO] BUILD FAILURE [INFO] [INFO] Total time: 0.937s [INFO] Finished at: Wed Sep 07 15:35:37 CEST 2011 [INFO] Final Memory: 8M/20M [INFO] ---