Java GWT正在更改包结构,找不到GWT.xml

Java GWT正在更改包结构,找不到GWT.xml,java,gwt,jetty,package,Java,Gwt,Jetty,Package,我在EclipseJuno中开发了GWT下的整个项目。在开发和测试它之后(它工作得很好),我决定稍微改变一下根包的结构 从 到 没什么大不了的。我更改了.xml文件中的所有引用。但我仍然得到以下错误: Loading modules sk.jakub.Editor1 [ERROR] Unable to find 'sk/jakub/Editor1.gwt.xml' on your classpath; could be a typo, or maybe you forgot t

我在EclipseJuno中开发了GWT下的整个项目。在开发和测试它之后(它工作得很好),我决定稍微改变一下根包的结构

没什么大不了的。我更改了.xml文件中的所有引用。但我仍然得到以下错误:

Loading modules
   sk.jakub.Editor1
      [ERROR] Unable to find 'sk/jakub/Editor1.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] shell failed in doStartup method
问题显然是GWT试图在旧的包结构下查找Editor1.GWT.xml。包结构未更新

我以为我忘了更新入口点模块设置,但它们很好。所以我不明白为什么会这样

如何解决这个问题有什么建议吗

非常感谢您的回答:)

更新: 这是我的部署描述符(我觉得很好):


上下文配置
WEB-INF/*-context.xml
org.springframework.web.context.ContextLoaderListener
spring4gwt
org.spring4gwt.server.SpringGwtRemoteServiceServlet
spring4gwt
/editor1/app/componentService
Editor1.html

在eclipse中,进入运行,运行配置,选择项目,选择参数选项卡。

在“程序参数”窗口中,确保有更新的条目。我想你需要:

com.google.appengine.tools.development.gwt.AppEngineLauncher sk.jakub.app.Editor1

在eclipse中,进入运行,运行配置,选择项目,选择参数选项卡。

在“程序参数”窗口中,确保有更新的条目。我想你需要:

com.google.appengine.tools.development.gwt.AppEngineLauncher sk.jakub.app.Editor1

检查GWT编译器设置。您必须指定包含包的GWT模块。重构包结构时,必须更正这些设置

在Eclipse中编译时,GWT“Compile”对话框列出了“入口点模块”。检查模块“Editor1”是否列出并具有正确的包结构

在开发模式下作为Web应用程序启动时,如果模块正确列出,则必须检查选项卡“GWT”和“Arguments”


同样适用于ant构建。

检查您的GWT编译器设置。您必须指定包含包的GWT模块。重构包结构时,必须更正这些设置

在Eclipse中编译时,GWT“Compile”对话框列出了“入口点模块”。检查模块“Editor1”是否列出并具有正确的包结构

在开发模式下作为Web应用程序启动时,如果模块正确列出,则必须检查选项卡“GWT”和“Arguments”


同样适用于ant构建。

检查您的部署描述符(
web.xml
)。检查您的部署描述符(
web.xml
)。谢谢,我有一个问题,我有sk.jakub.Editor1,然后是sk.jakub.app.Editor1。它只走了第一条路而不是第二条路。。。但是我没有意识到它添加了一个新路径而不是编辑现有路径:)非常感谢:)谢谢有一个问题,我有sk.jakub.Editor1,然后是sk.jakub.app.Editor1。它只走了第一条路而不是第二条路。。。但是我没有意识到它添加了一个新路径,而不是编辑现有路径:)非常感谢:)谢谢-问题已在RunConfigurations中的Arguments选项卡中本地化:)没有正确填充。谢谢-问题已在RunConfigurations中的Arguments选项卡中本地化:)没有正确填充
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
              http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         version="2.5"
         xmlns="http://java.sun.com/xml/ns/javaee">

<!-- Context params -->
  <context-param>
    <param-name>contextConfiguration</param-name>
    <param-value>WEB-INF/*-context.xml</param-value>
  </context-param>

  <!-- Listeners -->
  <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>

  <!-- Servlets -->
  <servlet>
    <servlet-name>spring4gwt</servlet-name>
    <servlet-class>org.spring4gwt.server.SpringGwtRemoteServiceServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>spring4gwt</servlet-name>
    <url-pattern>/editor1/app/componentService</url-pattern>
  </servlet-mapping>
  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>Editor1.html</welcome-file>
  </welcome-file-list>

</web-app>
com.google.appengine.tools.development.gwt.AppEngineLauncher sk.jakub.app.Editor1