|
将项目部署到resin后,发现无法启动:
[00:00:42.536] Server[] starting
[00:00:42.536]
[00:00:42.536] Windows Vista 6.0 x86
[00:00:42.537] Java 10.0-b19, 32, mixed mode, sharing, GB18030, zh, Sun Microsystems Inc.
[00:00:42.537] resin.home = D:\resin-3.0.22
[00:00:42.538] server.root = null
[00:00:42.538]
[00:00:42.599] Host[] starting
[00:00:42.709] WebApp[http://localhost:80] starting
[00:00:43.115] com.caucho.config.LineConfigException: WEB-INF/web.xml:6: <web-app xmlns="http://java.sun.com/xml/ns/javaee"> is an unexpected top-level tag.
[00:00:43.115]
[00:00:43.115] <web-app xmlns="http://caucho.com/ns/resin">,
[00:00:43.115] <web-app xmlns="http://java.sun.com/xml/ns/j2ee"> or
[00:00:43.115] <web-app xmlns=""> are expected.
[00:00:43.115]
[00:00:43.115] Syntax: (<web-app> | <web-app> | <web-app>)
[00:00:43.394] WebApp[http://localhost:80/resin-doc] starting
[00:00:43.460] WebApp[http://localhost:80/resin-admin] starting
[00:00:43.482] http listening to *:80
[00:00:43.496] hmux listening to 127.0.0.1:6802
[00:00:43.497] Resin started in 1198ms
Google后去掉web.xml 中的 xmlns="http://java.sun.com/xml/ns/javaee" 后果然可以启动了,但不知道这样改对其它地方有什么影响没有,
参考:http://blog.csdn.net/wangpingpaul/archive/2009/02/20/3913013.aspx |
|
|