Hi

Scenario:

Core client and server code needs to be shared among several projects
(referred to as "child projects")

My try was ro create the core project as a GWT project, and add it to
the build path of the child projects as a dependency project.

Under Jetty, everything works OK except I get this message:

[WARN] Server class 'com.mycompany.core.client.domainObjects.User'
could not be found in the web app, but was found on the system
classpath
[WARN] Adding classpath entry '.../Core/war/WEB-INF/classes/' to the
web app classpath for this session

When deployed - to Tomcat - I get:

...
javax.servlet.ServletException: Error instantiating servlet class
com.mycompany.myProject.server.MyServiceImpl
...
java.lang.NoClassDefFoundError: com/mycompany/core/client/domain/User
...
java.lang.ClassNotFoundException:
com.mycompany.core.client.domainObjects.User
...

What should I do? Help please...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to