PDA

View Full Version : No Source



c36145
28 Apr 2008, 8:19 AM
I am trying to implement a RPC within my application with GWT-EX and I am getting this error when Compiling:

ERROR] Errors in 'D:\Documents and Settings\fscpgmmh\workspace\TestAppGWTExt\src\com\accenture\test\client\TestMainApplication.java'
[ERROR] Line 80: No source code is available for type com.accenture.data.client.NewOrderAsync; did you forget to inherit a required module?
[ERROR] Line 83: No source code is available for type com.accenture.data.client.NewOrderRemote; did you forget to inherit a required module?
[ERROR] Line 93: No source code is available for type com.accenture.data.client.Order; did you forget to inherit a required module?

I had three classes:

publicinterface NewOrderRemote extends RemoteService {

public String getNbr(String customerNbr);

}


publicinterface NewOrderAsync extends AsyncCallback<Order> {

publicvoid getOrderNbr(AsyncCallback<Order> asyncCallback);
}


publicclass Order implements IsSerializable {
String nbr;
Date orderDate;

public Order(String nbr,String orderDate)
{
SimpleDateFormat dfmt = new SimpleDateFormat("dd/MM/yyyy");

this.nbr = nbr;
try {
this.orderDate=dfmt.parse(orderDate);
} catch (ParseException e) {
// TODO Auto-generated catch block

e.printStackTrace();
}
}
public String getNbr() {
returnnbr;
}
publicvoid setNbr(String nbr) {
this.nbr = nbr;
}
public Date getOrderDate() {
returnorderDate;
}
publicvoid setOrderDate(Date orderDate) {
this.orderDate = orderDate;
}

}

darrellmeyer
28 Apr 2008, 8:56 AM
This forum is for Ext GWT, not, GWT-EXT.

It would seem that the java source code is not on your run configurations classpath.