Liferay 启动异常

kongfanyu
博客专家认证
2006-12-29 04:18:06
Liferay之前用的时候一直很正常,但是突然开始报这个错误,不能正常启动了,换了4.1还是这个问题。我的Liferay服务器直接从官方下载的,解开之后没有修改任何东西。

我才可能是读liferay-portlet.xml的错误,可是奇怪的是,另外一台机器也有这样的问题。

谁知道应该使用哪个版本Dom4j才正确?

下面是错误信息(部分):
Starting Liferay Portal Professional 4.1.0 (Cowper / Build 3100 / July 31, 2006)

org.dom4j.DocumentException: Error on line 573 of document http://java.sun.com/x
ml/ns/portlet/portlet-app_1_0.xsd : src-resolve: Cannot resolve the name 'xml:la
ng' to a(n) 'attribute declaration' component. Nested exception: src-resolve: Ca
nnot resolve the name 'xml:lang' to a(n) 'attribute declaration' component.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at com.liferay.portal.service.impl.PortletLocalServiceImpl._readPortletX
ML(PortletLocalServiceImpl.java:502)
at com.liferay.portal.service.impl.PortletLocalServiceImpl._readPortletX
ML(PortletLocalServiceImpl.java:464)
at com.liferay.portal.service.impl.PortletLocalServiceImpl.initEAR(Portl
etLocalServiceImpl.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
...全文
106 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4

67,515

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧