【问题标题】:GWT/Maven/Eclipse - Development Mode: URL not showing in Eclipse (only JavaEE version!)GWT/Maven/Eclipse - 开发模式: Eclipse 中不显示 URL(仅 JavaEE 版本!)
【发布时间】:2011-01-01 02:22:22
【问题描述】:

我按照说明如何使用 gwt-maven-plugin 设置 maven gwt 项目。它运行良好,并且在为 Windows 下载的 64 位版本的 eclipse 下,以及后来通过 EPP 更新站点添加的 Java 包,它运行良好。但是,在我的 mac 上,直接从网站下载 eclipse 作为预构建的 JavaEE 包,URL 永远不会在开发模式下显示(尽管我仍然可以使用 maven gwt:compile gwt:run 启动)并且我收到以下警告消息在 Eclipse 控制台中:

Loading modules
   com.dharma.greg.Home
      Validating <servlet> tags for module 'com.dharma.greg.Home'
         [WARN] Module declares a servlet class 'com.dharma.greg.server.ServicesImpl', but the web.xml has no corresponding declaration; please add the following lines to your web.xml:
<servlet>
  <servlet-name>servicesImpl</servlet-name>
  <servlet-class>com.dharma.greg.server.ServicesImpl</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>servicesImpl</servlet-name>
  <url-pattern>/com.dharma.greg.Home/services</url-pattern>
</servlet-mapping>

【问题讨论】:

    标签: eclipse maven-2 gwt maven


    【解决方案1】:

    【讨论】:

    • 配置应该去哪里?
    猜你喜欢
    • 2011-04-03
    • 1970-01-01
    • 2011-12-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-20
    相关资源
    最近更新 更多