troubleshooting Question

GWT - Line 60: No source code is available for type java.text.Normalizer; did you forget to inherit a required module?

Avatar of harishalwala
harishalwalaFlag for Afghanistan asked on
JavaJavaScriptAJAX
3 Comments1 Solution1386 ViewsLast Modified:
Hi
I am working on a GWT project.

All my Implementation classes are put in com.my.web.server package and rest all my client code is written in com.my.web.client.* package.

//implementation class looks like this
public class LoginServiceImpl extends RemoteServiceServlet implements
		LoginService {
	public String isUserValid(String username, String password) {
//some db code
}
}

response from server will come to onSuccess method as below. From that method I am invoking jaxb transformation. as I said all the class other then impl and DB class are put in  com.my.web.client.* package.
client code
public class LoginAsyncCallback implements AsyncCallback<String> {
public void onSuccess(String result) {
		// TODO Auto-generated method stub
		System.out.println(result);
		VOIndex Index = IndexFactory.getCaseIndex(result);
	}

in myproject.gwt.xml
I have
 	<source path='client' />
	<source path='com.my.web.client.vo.factory' />
	<super-source path="jre" />


When I run the application I get exception

/src/com/my/web/client/vo/factory/TransformIndex.java'
       [transcendweb] - Line 60: No source code is available for type java.text.Normalizer; did you forget to inherit a required module?
       [transcendweb] - Line 62: No source code is available for type javax.xml.bind.JAXBException; did you forget to inherit a required module?

TransformIndex.java has JaXB marshalling code.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros