Hi Jana, the thing is:
The gwt-compiler needs the java-code of all classes you want to need in your client-side (gwt) code. The compiler needs the code, because it parses java to javascript. So if you want to use external jars, than you must be sure, that the source-code is available. If you are using Eclipse, you can attach source to the jars in the build path. If you don´t have the source-code of the jar, you can´t use this library in the client. If you need the library for services, just use the jar only on the server-side, there, you don´t need to know the source-code of used jars. Be sure that you have a copy of the jar in the war/WEB-INF/lib/ folder, or it throws: classBotFound-Exception. Greets Alex On 23 Jul., 07:27, jana <[email protected]> wrote: > Hi, > > I am new To GWT , and using GWT in my project....., i hav two user > defined Exception which extends ApplicationException(present in client > Package), and i hav added the corresponding Jar file into the Project > libraries.. In Client Package , methods in the Interface throws user > defined Exception....And while compiling i get this error > "No source code is available for type > org.cementj.base.ApplicationException; did you forget to inherit a > required module?" > > Kindly help me ,.. how to solve this error.. > > Regards, > Jana -- 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.
