Saturday, April 22, 2017

Re: GWT/Maven development cycle takes much too long



On Saturday, April 22, 2017 at 1:43:33 PM UTC+2, Magnus wrote:
The external libs (like postgresql-40.0.0.jar) must be copied into the WEB-INF/lib directory. When scope=provided, it isn't copied there. That was the problem in the other thread.
How can I solve this?

Don't use scope=provided.
What scope=provided says is exactly what you see is happening: please don't put those things into the WAR as they will be provided at runtime (put into Tomcat's "common" libraries, Jetty's lib/ext or extraClasspath, or anything equivalent in other servlet containers).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment