resin 无法启动 com.caucho.config.LineConfigException:

阅读更多

将项目部署到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:  is an unexpected top-level tag.
[00:00:43.115] 
[00:00:43.115] ,
[00:00:43.115]  or
[00:00:43.115]  are expected.
[00:00:43.115] 
[00:00:43.115] Syntax: ( |  | )
[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

你可能感兴趣的:(Web,JavaEE,XML,SUN,Google)