The warning you get is fairly standard.  It happens when you don't
declare the character set encoding that you want to use for the copying
of resources.  This probably has nothing to do with your error.

The error is indicating that the class
org.sonatype.mavenbook.weather.Main does not exist.  Check the
"target/classes" directory under the project and see if that class
exists there.  If not, then something either went wrong with the build
or you managed to delete your binary classes before running the code.



ykyuen wrote:
> Hi all,
>
> i am new to maven2. i got some problem when i tried to follow the sample
> program of the book "Maven: The Definitive Guide"
> http://www.sonatype.com/books/maven-book/reference/customizing-sect-custom-exec.html
>
> i can sucessfully build the the program by the mvn install command
> http://www.codetter.com/snippets/l
>
> but when i run the mvn exec:java
> -Dexec.mainClass=org.sonatype.mavenbook.weather.Main, there is an exception
> http://www.codetter.com/snippets/n
>
> i have no idea about that exception. and does it related to the warning in
> mvn:install about the MS950 encoding?
>
> Thanks very much for your help.
>
> Regards,
> Kit
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to