Trying to compile my smartGWT project when added RemoteService
features and constantly getting:
Compiling module com.ho.nomad.NomadAdmin
Validating newly compiled units
[ERROR] Errors in 'file:/C:/..Projects/NomadAdmin/NomadAdmin/src/
com/ho/nomad/server/NomadRPCImpl.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)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
687)
at
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
883)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:
873)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
455)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
32)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
at com.google.gwt.dev.Compiler.run(Compiler.java:201)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
87)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
81)
at com.google.gwt.dev.Compiler.main(Compiler.java:159)
[ERROR] <no source info>: public class
com.google.gwt.user.server.rpc.RemoteServiceServlet
extends com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
implements :
com.google.gwt.user.server.rpc.SerializationPolicyProvider
/* fields */
private final [unresolved] Map<java.lang.String,Unresolved type
com.google.gwt.user.server.rpc.SerializationPolicy>
serializationPolicyCache
/* methods */
public void <init>()
[unresolved] protected Unresolved type
com.google.gwt.user.server.rpc.SerializationPolicy
doGetSerializationPolicy(Unresolved type
javax.servlet.http.HttpServletRequest, java.lang.String,
java.lang.String)
[unresolved] private Unresolved type
com.google.gwt.user.server.rpc.SerializationPolicy
getCachedSerializationPolicy(java.lang.String, java.lang.String)
[unresolved] public final Unresolved type
com.google.gwt.user.server.rpc.SerializationPolicy
getSerializationPolicy(java.lang.String, java.lang.String)
[unresolved] static Unresolved type
com.google.gwt.user.server.rpc.SerializationPolicy
loadSerializationPolicy(Unresolved type
javax.servlet.http.HttpServlet, Unresolved type
javax.servlet.http.HttpServletRequest, java.lang.String,
java.lang.String)
[unresolved] protected void
onAfterResponseSerialized(java.lang.String)
[unresolved] protected void
onBeforeRequestDeserialized(java.lang.String)
[unresolved] public java.lang.String processCall(java.lang.String)
throws Unresolved type
com.google.gwt.user.client.rpc.SerializationException
public final void processPost(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse) throws java.io.IOException,
javax.servlet.ServletException,
com.google.gwt.user.client.rpc.SerializationException
[unresolved] private void
putCachedSerializationPolicy(java.lang.String, java.lang.String,
Unresolved type com.google.gwt.user.server.rpc.SerializationPolicy)
[unresolved] protected boolean shouldCompressResponse(Unresolved type
javax.servlet.http.HttpServletRequest, Unresolved type
javax.servlet.http.HttpServletResponse, java.lang.String)
[unresolved] private void writeResponse(Unresolved type
javax.servlet.http.HttpServletRequest, Unresolved type
javax.servlet.http.HttpServletResponse, java.lang.String) throws
java.io.IOException
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
[ERROR] at NomadRPCImpl.java(6): class NomadRPCImpl
com.google.gwt.dev.jjs.ast.JClassType
Any ideas what can be wrong?
Thank you
--
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.