Link to home
Start Free TrialLog in
Avatar of harishalwala
harishalwalaFlag for Afghanistan

asked on

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

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
}
}

Open in new window


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);
	}

Open in new window


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

Open in new window



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.
ASKER CERTIFIED SOLUTION
Avatar of harishalwala
harishalwala
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zzynx
Then please close this question by accepting your previous comment as the answer.
Avatar of harishalwala

ASKER

I resolved my self