resin 无法启动 com.caucho.config.LineConfigException:
将项目部署到resin后,发现无法启动:Server[] starting
Windows Vista 6.0 x86
Java 10.0-b19, 32, mixed mode, sharing, GB18030, zh, Sun Microsystems Inc.
resin.home = D:\resin-3.0.22
server.root = null
Host[] starting
WebApp starting
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.
<web-app xmlns="http://caucho.com/ns/resin">,
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"> or
<web-app xmlns=""> are expected.
Syntax: (<web-app> | <web-app> | <web-app>)
WebApp starting
WebApp starting
http listening to *:80
hmux listening to 127.0.0.1:6802
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
页:
[1]