Foros de discusión

Exceptions During Deploy [resolved]

Dave Willis, modificado hace 14 años.

Exceptions During Deploy [resolved]

Expert Mensajes: 301 Fecha de incorporación: 13/07/09 Mensajes recientes
I just created a new portlet using the SDK's create.sh script. It's a Struts portlet so I finished fleshing it out with files from my previous portlet, changing names and references accordingly. The build path didn't have any JAR files in it at all so I added each JAR that was in my previous portlet to this one and refreshed the project. I also added ext and portal to the sources tab. Basically, I tried to make it just like my previous, working, portlet but with the names and references changed accordingly. When I deploy it compiles just fine and then copies over all the files but as soon as it starts to deploy I get a ton of exceptions. These are as follows:

21:13:21,349 INFO  [PortletAutoDeployListener:87] Portlets for /Users/davidwillis/Sites/deploy/sports-ticker-portlet-5.2.4.1.war copied successfully. Deployment will start in a few seconds.
Aug 10, 2009 9:13:27 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/sports-ticker-portlet]
Aug 10, 2009 9:13:27 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
21:13:27,636 ERROR [PortletContextLoaderListener:105] java.lang.ClassNotFoundException: com.liferay.util.bean.PortletBeanLocatorUtil
java.lang.ClassNotFoundException: com.liferay.util.bean.PortletBeanLocatorUtil
	...
21:13:27,842 INFO  [PortletHotDeployListener:227] Registering portlets for sports-ticker-portlet
21:13:28,463 ERROR [PortletHotDeployListener:448] java.lang.ClassNotFoundException: com.liferay.portlet.StrutsPortlet
java.lang.ClassNotFoundException: com.liferay.portlet.StrutsPortlet
	...
21:13:28,472 INFO  [PortletHotDeployListener:351] 0 portlets for sports-ticker-portlet are available for use
Aug 10, 2009 9:13:28 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet PortletActionServlet as unavailable
Aug 10, 2009 9:13:28 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@601bb1
 com.liferay.portal.struts.PortletActionServlet
java.lang.ClassNotFoundException: com.liferay.portal.struts.PortletActionServlet
	...
Aug 10, 2009 9:13:28 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /sports-ticker-portlet threw load() exception
java.lang.ClassNotFoundException: com.liferay.portal.struts.PortletActionServlet
	...


I have NO idea what's going on here. Any suggestions? Thanks!

Edit: I trimmed some of the error log to make it more readable. Hopefully I didn't trim anything important to solving this issue.
-Dave
Dave Willis, modificado hace 14 años.

RE: Exceptions During Deploy

Expert Mensajes: 301 Fecha de incorporación: 13/07/09 Mensajes recientes
Still having this error. I'm completely stuck and cannot move forward with this project until this is resolved and I'm out of ideas. Help?
Dave Willis, modificado hace 14 años.

RE: Exceptions During Deploy

Expert Mensajes: 301 Fecha de incorporación: 13/07/09 Mensajes recientes
It magically went away. No idea what I did, just glad it's working now.