I m试图操作WT样本StockWatcher
。 缩略语 然后,我向Eclipse进口了插手,在项目特性中设置了“Use/2008/4 Web Toolkit”检查箱,点击Debug As->Web Application。 然后,我就去了。
Started code server on port 9997
Parsing file:<some file path>/StockWatcher/war/WEB-INF/web.xml
startElement: 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"
startElement: servlet
startElement: servlet-name
characters: greetServlet
endElement: servlet-name
startElement: servlet-class
characters: com.company.gwt.stockwatcher.server.GreetingServiceImpl
endElement: servlet-class
endElement: servlet
startElement: servlet-mapping
startElement: servlet-name
characters: greetServlet
endElement: servlet-name
startElement: url-pattern
characters: /stockwatcher/greet
endElement: url-pattern
endElement: servlet-mapping
startElement: welcome-file-list
startElement: welcome-file
characters: StockWatcher.html
endElement: welcome-file
endElement: welcome-file-list
endElement: web-app
Loading modules
-remoteUI
[ERROR] Invalid module name: -remoteUI
[ERROR] shell failed in doStartup method
Parsing response (length 1443)
Ping delay is 1; next ping at Tue Apr 17 13:06:08 EEST 2012
Server version (2.3.0) is not newer than 2.4.0
Here is my web.xml file:
<?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">
<!-- Servlets -->
<servlet>
<servlet-name>greetServlet</servlet-name>
<servlet-class>com.company.gwt.stockwatcher.server.GreetingServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>greetServlet</servlet-name>
<url-pattern>/stockwatcher/greet</url-pattern>
</servlet-mapping>
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>StockWatcher.html</welcome-file>
</welcome-file-list>
</web-app>
www.un.org/Depts/DGACM/index_french.htm
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to= stockwatcher >
<inherits name= com.google.gwt.user.User />
<inherits name= com.google.gwt.user.theme.clean.Clean />
<entry-point class= com.company.gwt.stockwatcher.client.StockWatcher />
<source path= client />
<source path= shared />
</module>
即便我从辅导页下载该项目,这个问题还是重复的。 我如何解决这个问题?
UPD: Strange,但当我试图再次发射(无改动)时,我看上“易发生”窗口:
Launching StockWatcher has encountered a problem.
可变的参考资料
为什么会发生这种情况?