lifesounds的专栏

前进、前进、向前进!

liferay plugin 形式开发 deploy.hot.HotDeployException

01:51:42,593 ERROR [HotDeployUtil:60] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for

snavigation com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for snavigation         at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:446)         at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:89)         at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:42)         at com.liferay.portal.kernel.servlet.PortletContextListener.portalInit(PortletContextListener.java:53)         at com.liferay.portal.kernel.util.PortalInitableUtil.init(PortalInitableUtil.java:38)         at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:93         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)         at org.apache.catalina.core.StandardService.start(StandardService.java:516)         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)         at org.apache.catalina.startup.Catalina.start(Catalina.java:578)         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)         at java.lang.reflect.Method.invoke(Method.java:597)         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.NullPointerException         at com.liferay.portal.security.permission.ResourceActionsUtil._read(ResourceActionsUtil.java:855)         at com.liferay.portal.security.permission.ResourceActionsUtil.read(ResourceActionsUtil.java:297)         at com.liferay.portal.deploy.hot.PortletHotDeployListener.processProperties(PortletHotDeployListener.java:636         at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:424)         ... 29 more

01:51:42,593 ERROR [HotDeployUtil:60] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for

snavigation 这个异常的原因通常是由于程序加载的lib包不对引起的。 但是这次出现这个异常怎么调整lib下的jar包都不好使,仔细看了下异常原因  at com.liferay.portal.security.permission.ResourceActionsUtil._read(ResourceActionsUtil.java:855)         at com.liferay.portal.security.permission.ResourceActionsUtil.read(ResourceActionsUtil.java:297) 怀疑可能是权限引起的,仔细检查了权限配置文件,发现snavigation.xml中定义模块权限的时候写错了一个。改正过来就号了

 

阅读更多
文章标签: jar
个人分类: liferay
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

liferay plugin 形式开发 deploy.hot.HotDeployException

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭