Foren

Deploying Demo-Portlets to bundled JBoss-Liferay Portal

fabian maass, geändert vor 14 Jahren.

Deploying Demo-Portlets to bundled JBoss-Liferay Portal

New Member Beiträge: 10 Beitrittsdatum: 11.08.09 Neueste Beiträge
hey,

im just trying do deploy the demo portlets from the community plugin page from liferay.com, but apparently none of them is working (in tomcat they are, though).

im getting exceptions like this:

11:47:48,405 INFO [STDOUT] 11:47:48,401 INFO [PortletHotDeployListener] Registering portlets for hellostruts-portlet
11:47:48,554 INFO [STDOUT] 11:47:48,552 ERROR [PortletHotDeployListener] java.lang.NoClassDefFoundError: com/liferay/portlet/StrutsPortlet
java.lang.NoClassDefFoundError: com/liferay/portlet/StrutsPortlet

11:47:48,555 INFO [STDOUT] readPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: com.liferay.portlet.StrutsPortlet

11:47:48,573 INFO [STDOUT] 11:47:48,573 INFO [PortletHotDeployListener] 0 portlets for hellostruts-portlet are available for use
11:47:48,587 INFO [[/hellostruts-portlet]] Marking servlet PortletActionServlet as unavailable
11:47:48,587 ERROR [[/hellostruts-portlet]] Servlet /hellostruts-portlet threw load() exception
java.lang.ClassNotFoundException: com.liferay.portal.struts.PortletActionServlet


has someone experienced anything like this? do i have to do something else, than in tomcat?

shouldnt normal jsr186 portlets run ootb?


thanks in advance,

fabian
thumbnail
Madhu Yadav, geändert vor 14 Jahren.

RE: Deploying Demo-Portlets to bundled JBoss-Liferay Portal

Regular Member Beiträge: 118 Beitrittsdatum: 23.01.09 Neueste Beiträge
1. check the portlet files..few class files missing in <tomcat>/webapps/hellostruts-portlet/ ...looks like an issue with the download..did you use the plugin installer interface to the same?
2. even jsr168 portlets wont run ootb but with adding few liferay specific config files like liferay-display.xml, liferay-plugin-package.xml and liferay-portlet.xml