Sunday, January 30, 2011

Re: Is there a way to copy all maven referenced jars to the war/WEB-INF/lib

Hi Mike,

Does the problem occurs even if you execute the 'package' or 'install'
phase? Did you check the scope of those dependencies?
Very strange behaviour otherwise...

Salud!

Ezequiel.-

On 30 ene, 06:01, "Mike.G" <gsun...@gmail.com> wrote:
> hi all:
>  i'm using maven to organize my gwt project, everything works well but one
> defect: Is there a way to copy all maven referenced jars to the
> war/WEB-INF/lib?
>
> when i use maven POM to add a new depencies, i have to copy the jar and it's
> dependent jar to WEB-INF/lib, usually i may forget copying some, which will
> lead to "no class def" error when i deliver the project to web server. but
> in development mode, it works well.
>
> could someone help me? how did you tackle this messy situation? thanks very
> much.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment