Thursday, March 27, 2014

Re: gwt-user.jar

Thanks for the suggestion, but it doesn't work.  Got this even including both:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

As Thomas said you have to add the servlet api jar.

But honestly if you know you are writing a CLI that should use the same code as your servlet why don't you move that shared code into its own class and try to keep that class clean from servlet (and possibly GWT) dependencies? Then your servlet and your CLI can use that class and it will not require some "strange" dependencies for the CLI project.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment