But using the option -X doesn't tell me to move the <dependency/> into the <plugin/> section, right? :-/
--- Wayne Fay <[email protected]> schrieb am Do, 8.9.2011: Von: Wayne Fay <[email protected]> Betreff: Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath An: "Maven Users List" <[email protected]> Datum: Donnerstag, 8. September, 2011 22:49 Uhr > 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 now." Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
