Monday, April 17, 2017

Re: JNDI lookup issue when upgrade GWT from 2.2 to 2.8


Can we totally avoid gwt-dev.jar in the server war file? Currently it is the gwt-dev.jar which requires jetty even we build in production mode.

Oh, actually you NEVER EVER deploy gwt-dev.jar and gwt-user.jar. Both jars are only required during compilation from Java to JavaScript. The only things you might want to deploy are gwt-servlet.jar, gwt-servlet-deps.jar, requestfactory-server.jar in case you are using GWT-RPC or RequestFactory or AutoBeans on the server.

Once you remove those jars from your war file it should already work I guess.

-- J.

--
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