Friday, September 3, 2010

Re: deploy gwt-dev.jar issue

On Sep 2, 6:37 pm, wiulma <giorgio.z...@gmail.com> wrote:
> Hi guys!
> In my web app I use gwtupload.jar and in the FileUploadServlet I
> import com.google.gwt.soyc.Settings
>
> Now I have to deploy the web app in jboss 5, but with gwt-dev.jar in
> WEB-INF/lib I obtain this compile error:
>
> Caused by: LifecycleException:  Error initializaing :
> javax.management.ReflectionException: Cannot find method addChild with
> this signature
>
> while if I delete gwt-dev.jar the issue is:
> Caused by: java.lang.ClassNotFoundException:
> com.google.gwt.soyc.Settings....
> Can you help me?

You're not supposed to deploy gwt-dev.jar. Server-side GWT code to be
deployed is packaged in a gwt-servlet.jar file.
See http://code.google.com/webtoolkit/doc/latest/DevGuideDeploying.html

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