Hi, I found it:
The ant file above (which I found in the net) has an exclude statement (<exclude name="WEB-INF/**" />) which also excluded the classes dir. Magnus On 16 Jun., 14:50, Magnus <[email protected]> wrote: > Hi, > > I deployed my app for the first time on a tomcat server and receive > the following exception (SystemService is aRPC service): > > ----- > javax.servlet.ServletException: Wrapper cannot find servlet class > ics.server.svc.SystemServiceImpl or a class it depends on > ... > ----- > > In hosted mode this works fine. > > I created the war file which I just dropped into the tomcat's webapps > folder, with the following ant script: > > <project name="ics" basedir="." default="default"> > > <target name="default" depends="buildwar,deploy"></target> > > <target name="buildwar"> > <war basedir="war" destfile="ics.war" webxml="war/WEB-INF/web.xml"> > <exclude name="WEB-INF/**" /> > <webinf dir="war/WEB-INF/"> > <include name="**/*.jar" /> > </webinf> > </war> > </target> > > <target name="deploy"> > <copy file="ics.war" todir="." /> > </target> > > </project> > > Can you help? > Thanks > Magnus -- 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.
