But using the option -X doesn't tell me to move the dependency/ into the
plugin/ section, right? :-/
--- Wayne Fay wayne...@gmail.com schrieb am Do, 8.9.2011:
Von: Wayne Fay wayne...@gmail.com
Betreff: Re: Get java.lang.NoClassDefFoundError though the class is in the
classpath
An: Maven
tell me to move the dependency/ into the
plugin/ section, right? :-/
--- Wayne Fay wayne...@gmail.com schrieb am Do, 8.9.2011:
Von: Wayne Fay wayne...@gmail.com
Betreff: Re: Get java.lang.NoClassDefFoundError though the class is in the
classpath
An: Maven Users List users
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 st...@resolvesw.com schrieb am Fr, 9.9.2011:
Von: Stephen Coy st...@resolvesw.com
Betreff: Re: Get java.lang.NoClassDefFoundError though the class
/plugins
/build
...
--- Wayne Fay wayne...@gmail.com schrieb am Mi, 7.9.2011:
Von: Wayne Fay wayne...@gmail.com
Betreff: Re: Get java.lang.NoClassDefFoundError though the class is in the
classpath
An: Maven Users List users@maven.apache.org
Datum: Mittwoch, 7. September, 2011 16:18 Uhr
I
Hi,
You are right. After I move the dependency into the plugin section, it works.
Many thanks!
Thomas
--- Wayne Fay wayne...@gmail.com schrieb am Mi, 7.9.2011:
Von: Wayne Fay wayne...@gmail.com
Betreff: Re: Get java.lang.NoClassDefFoundError though the class is in the
classpath
An: Maven
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 quit
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]
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:
systemPathC:/Program
Files/Java/jdk1.7.0/lib/tools.jar/systemPath
As I run mvn dependency:build-classpath to check the included jars I can