[back to the group] On Tue, Nov 8, 2011 at 5:39 PM, ailinykh <[email protected]> wrote: > I meant run time error. I want module B (which is a library) to use > implementation defined in app (module A). Let's say this is error message > screen, it could be pop up, separated page, what ever. So all code is > written against ErrorScreenInterface. I define implementation in app- > PopUpErrorScreen. > Module B has code- GWT.create(ErrorScreenInterface.class). And it fails here > because module B doesn't depend on A. > It doesn't know how to create PopUpErrorScreen. I get class not found > exception. > This is my problem.
So, does your app compile? (GWT compiler) As I said, it doesn't matter in which class the GWT.create() is done, and in which gwt.xml the <replace-with> rule is defined. If you see a ClassNotFoundException, it's probably a classpath or <source/> path issue. Can you copy/paste the errors from the DevMode console, and your DevMode launch configuration? -- 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.
