I guess that you need to include the gwt-servlet.jar in your classpath. make sure that it is also present in the lib of your app server.
On Mon, Mar 22, 2010 at 8:48 PM, Mykhaylo Lytvynuk <[email protected]>wrote: > Getting this error: > > --> No source code is available for type > com.google.gwt.user.server.rpc.RemoteServiceServlet; > > PackageStructure is like that: > +client: > Na.java > NaRPC.java > NaRPCAsynch.java > +server > NaRPCImpl.java > +shared > DMXLicenseDTO.java > > > XML file is: > > <module rename-to="nomadadmin"> > <inherits name='com.google.gwt.user.User'/> > <inherits name="com.smartgwtee.SmartGwtEE"/> > <!-- inherits name='com.horizant.dmx.synch.server.data'/--> > <entry-point class='com.ho.nomad.client.Na'/> > <source path="client"/> > <source path="server"/> > <source path="shared"/> > <servlet path="/mService" class="com.ho.nomad.server.NaRPCImpl"/> > </module> > > > Error is like that: > > [ERROR] Errors in 'file:/C:/..Projects/NomadAdmin/NomadAdmin/src/ > com/ho/nomad/server/NaRPCImpl.java' > [ERROR] Line 6: No source code is available for type > com.google.gwt.user.server.rpc.RemoteServiceServlet; did you forget to > inherit a required module? > [ERROR] An internal compiler exception occurred > com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode > at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:75) > at com.google.gwt.dev.jjs.impl.BuildTypeMap > $BuildDeclMapVisitor.process(BuildTypeMap.java:595) > at com.google.gwt.dev.jjs.impl.BuildTypeMap > $BuildDeclMapVisitor.visit(BuildTypeMap.java:309) > at > > org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java: > 1198) > ..... > cut > > What is wrong? Everything seems to be ok? > Please advice > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
