Tomcat上的GWT RPC给定错误

Tomcat上的GWT RPC给定错误,gwt,Gwt,我正在尝试在tomcat上运行我的GWT应用程序,这个GWT应用程序在ocalhose上运行得很好,在tomcat上运行得很好,但仅限于客户端,如果我尝试从tomcat调用rpc,它会出错 这是附加的错误 这是我的web.xml类 http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version=“2.5” xmlns=”http://java.sun.com/xml/ns/javaee“> 仪表板servlet com.dashboard

我正在尝试在tomcat上运行我的GWT应用程序,这个GWT应用程序在ocalhose上运行得很好,在tomcat上运行得很好,但仅限于客户端,如果我尝试从tomcat调用rpc,它会出错

这是附加的错误

这是我的web.xml类 http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version=“2.5” xmlns=”http://java.sun.com/xml/ns/javaee“>


仪表板servlet
com.dashboard.server.dashboardserviceinpl
仪表板servlet
/仪表板servlet
DashBoardSupervisor.html
这里是RPC接口

            @RemoteServiceRelativePath("DashBoardServlet")
            public interface DashBoardService extends RemoteService {

ArrayList<FoundIntravue> fetchIntraVUE(String first, String second,  String choice);
String saveIntraVue(Intravue interVue, ArrayList<Networks> networksList) throws Exception;
String restoreDatabase(Date selectedDate) throws Exception;
@RemoteServiceRelativePath(“仪表板servlet”)
公共接口仪表板服务扩展了RemoteService{
ArrayList FetchIntraue(字符串第一,字符串第二,字符串选择);
字符串saveIntraue(Intraue interVue,ArrayList networksList)引发异常;
字符串restoreDatabase(Date selectedDate)引发异常;
的值与您的模块基URL相对,因此您的GWT应用程序调用
../dashboardsupervisor/DashBoardServlet
(这是您的屏幕截图),但您的
web.xml
将servlet映射到
/DashBoardServlet


因为在
/dashboardsupervisor/DashBoardServlet
中没有任何内容,Tomcat返回了一个404;的case made。

谢谢您的帮助,我的web.xml现在是/dashboardsupervisor/DashBoardServlet。但是有同样的错误,如果我在eclipse中运行而没有Tomcat,我的RPC工作正常,所以如果您能提供一些ide,我在Tomcat中做了一些错误a,谢谢
            @RemoteServiceRelativePath("DashBoardServlet")
            public interface DashBoardService extends RemoteService {

ArrayList<FoundIntravue> fetchIntraVUE(String first, String second,  String choice);
String saveIntraVue(Intravue interVue, ArrayList<Networks> networksList) throws Exception;
String restoreDatabase(Date selectedDate) throws Exception;