java.lang.ClassNotFoundException

tip

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Portlet Errors · GitHub
    via by Unknown author,
  • chat-portlet from EE4 trunk r 48851/ EE 4.1.1.Beta tag r 48851, cannot be installed on Liferay 6.2-ce-ga5/ Liferay 6.2-ce-ga3. The .war file was built using the /icefaces/lib/portlets/liferayfaces/liferay-faces-*-4.2.5-ga6.jar files from SVN. There are server errors when installing the .war file: INFO: Initializing Spring root WebApplicationContext 18:59:39,681 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for chat-portlet 18:59:39,701 ERROR [localhost-startStop-1][PortletBagFactory:411] java.lang.ClassNotFoundException: org.portletfaces.bri dge.GenericFacesPortlet java.lang.ClassNotFoundException: org.portletfaces.bridge.GenericFacesPortlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:408) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:121) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 18:59:39,712 ERROR [localhost-startStop-1][PortletBagFactory:340] javax.portlet.PortletException: java.lang.NullPointerE xception javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:337) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,740 ERROR [localhost-startStop-1][HotDeployImpl:233] com.liferay.portal.kernel.deploy.hot.HotDeployException: E rror registering portlets for chat-portletchat-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for chat-portletchat-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java :46) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:128) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortletApp(PortletHotDeployListener.java:622) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:377) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) ... 25 more Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,791 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying kaleo-web from queue 18:59:39,794 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties May 25, 2016 6:59:40 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties 18:59:43,417 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portal.properties 18:59:43,451 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for kaleo-web is available for use May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\marketplace-por tlet has finished in 13,380 ms May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-portl et May 25, 2016 6:59:46 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:46,380 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet 18:59:46,381 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue 18:59:46,382 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties May 25, 2016 6:59:46 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties 18:59:46,775 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portal.pro perties 18:59:47,039 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for notifications-portlet is available for us e 18:59:47,042 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties 18:59:47,201 INFO [localhost-startStop-1][PortletHotDeployListener:497] 2 portlets for notifications-portlet are availa ble for use May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-p ortlet has finished in 3,436 ms May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\opensocial-portlet May 25, 2016 6:59:54 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:54,605 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin opensocial-portlet requires marketplace-portlet 18:59:54,606 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying opensocial-portlet from queue 18:59:54,607 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for opensocial-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties May 25, 2016 6:59:55 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties
    via by Carmen Cristurean,
  • chat-portlet from EE4 trunk r 48851/ EE 4.1.1.Beta tag r 48851, cannot be installed on Liferay 6.2-ce-ga5/ Liferay 6.2-ce-ga3. The .war file was built using the /icefaces/lib/portlets/liferayfaces/liferay-faces-*-4.2.5-ga6.jar files from SVN. There are server errors when installing the .war file: INFO: Initializing Spring root WebApplicationContext 18:59:39,681 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for chat-portlet 18:59:39,701 ERROR [localhost-startStop-1][PortletBagFactory:411] java.lang.ClassNotFoundException: org.portletfaces.bri dge.GenericFacesPortlet java.lang.ClassNotFoundException: org.portletfaces.bridge.GenericFacesPortlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:408) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:121) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 18:59:39,712 ERROR [localhost-startStop-1][PortletBagFactory:340] javax.portlet.PortletException: java.lang.NullPointerE xception javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:337) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,740 ERROR [localhost-startStop-1][HotDeployImpl:233] com.liferay.portal.kernel.deploy.hot.HotDeployException: E rror registering portlets for chat-portletchat-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for chat-portletchat-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java :46) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:128) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortletApp(PortletHotDeployListener.java:622) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:377) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) ... 25 more Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,791 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying kaleo-web from queue 18:59:39,794 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties May 25, 2016 6:59:40 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties 18:59:43,417 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portal.properties 18:59:43,451 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for kaleo-web is available for use May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\marketplace-por tlet has finished in 13,380 ms May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-portl et May 25, 2016 6:59:46 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:46,380 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet 18:59:46,381 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue 18:59:46,382 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties May 25, 2016 6:59:46 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties 18:59:46,775 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portal.pro perties 18:59:47,039 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for notifications-portlet is available for us e 18:59:47,042 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties 18:59:47,201 INFO [localhost-startStop-1][PortletHotDeployListener:497] 2 portlets for notifications-portlet are availa ble for use May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-p ortlet has finished in 3,436 ms May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\opensocial-portlet May 25, 2016 6:59:54 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:54,605 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin opensocial-portlet requires marketplace-portlet 18:59:54,606 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying opensocial-portlet from queue 18:59:54,607 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for opensocial-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties May 25, 2016 6:59:55 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties
    via by Carmen Cristurean,
  • RE: very new to Liferay - Forums | Liferay
    via by Unknown author,
    • java.lang.ClassNotFoundException: com.liferay.notifications.notifications.portlet.NotificationsPortlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:408) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:121) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:227) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3954) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1270) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1439) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:315) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    444 more bugmates