Hello all: I am trying to create stubs for RPC, but I am getting these errors from the GWT compiler:
[INFO] Compiling module com._3dmathpuzzles.play.Play [INFO] Tracing compile failure path for type 'com._3dmathpuzzles.play.client.GetPuzzleService' [INFO] [ERROR] Errors in 'file:/C:/OneDrive/Dev/3DMathPuzzlesWeb/src/main/java/com/_3dmathpuzzles/p lay/client/GetPuzzleService.java' [INFO] [ERROR] Line 15: No source code is available for type com.propfinancing.puzzle.Puzzle; did you forget to inherit a required module? [INFO] Tracing compile failure path for type 'com._3dmathpuzzles.play.client.GetPuzzleServiceAsync' [INFO] [ERROR] Errors in 'file:/C:/OneDrive/Dev/3DMathPuzzlesWeb/src/main/java/com/_3dmathpuzzles/p lay/client/GetPuzzleServiceAsync.java' [INFO] [ERROR] Line 13: No source code is available for type com.propfinancing.puzzle.Puzzle; did you forget to inherit a required module? [INFO] Tracing compile failure path for type 'com._3dmathpuzzles.play.server.GetPuzzleServiceImpl' [INFO] [ERROR] Errors in 'file:/C:/OneDrive/Dev/3DMathPuzzlesWeb/src/main/java/com/_3dmathpuzzles/p lay/server/GetPuzzleServiceImpl.java' [INFO] [ERROR] Line 13: No source code is available for type com.google.gwt.user.server.rpc.RemoteServiceServlet; did you forget to inherit a required module? [INFO] [ERROR] Line 19: No source code is available for type com.propfinancing.puzzle.Puzzle; did you forget to inherit a required module? [INFO] [ERROR] Errors in 'file:/C:/OneDrive/Dev/3DMathPuzzlesWeb/src/main/java/com/_3dmathpuzzles/p lay/client/GetPuzzleService.java' [INFO] [ERROR] Line 15: No source code is available for type com.propfinancing.puzzle.Puzzle; did you forget to inherit a required module? [INFO] Finding entry point classes [INFO] [ERROR] Hint: Check that the type name 'com.propfinancing.puzzle.Puzzle' is really what you meant [INFO] [ERROR] Hint: Check that your classpath includes all required source roots My class com.propfinancing.puzzle.Puzzle is in a jar file on the classpath. I added a Puzzle.gwt.xml with this content: <module> <inherits name="com.google.gwt.user.User"/> <entry-point class="com.propfinancing.puzzle.Puzzle"/> <source path=""/> </module> And made sure it is included in the jar. The error about RemoveServiceServlet is strange since it is part of GWT. I am not sure what I am doing wrong on that. I have been reading the docs and tutorials, but am not figuring this out. I appreciate any guidance you all can offer. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/f6ace86998ca792bc8bd4f190e4544a8%40mail.gmail.com.
