Hi John, I'm not sure, but please check if there is another portlet-api.jar in /WEB-INF/lib/ directory of your portlet application. The portlet-api.jar file must be shared by the container. For example, with Tomcat, it must be located in $TOMCAT_HOME/shared/lib directory only.
Regards, Woonsan --- On Wed, 7/2/08, John Cartwright <[EMAIL PROTECTED]> wrote: > From: John Cartwright <[EMAIL PROTECTED]> > Subject: problem deploying struts2 portlet tutorial > To: [email protected] > Date: Wednesday, July 2, 2008, 1:04 PM > Hello All, > > I've just completed the excellent Struts 2 Portlet > Tutorial > (http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html > > ), but am now having trouble deploying it to JetSpeed > 2.1.3. The log > reports: > > 2008-07-01 21:43:06,364 [http-8080-Processor23] ERROR > org.apache.jetspeed.factory.JetspeedPortletFactory - Cannot > create > Portlet instance org.apache.struts2.portlet.dispatcher > .Jsr168Dispatcher for Portlet Application bookmark-portlet > java.lang.ClassCastException: > org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher > > > Can someone please help me in diagnosing and resolving this > problem? > > Thanks! > > --john --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
