Did you keep only one portlet-api jar in the shared lib folder of your Tomcat? Every web application should not have that jar in its own lib folder.
Woonsan ----- Original Message ---- > From: "Smith, Nathan" <[email protected]> > To: Jetspeed Developers List <[email protected]> > Sent: Fri, December 11, 2009 5:23:20 PM > Subject: Re: Repost Jetspeed2 error > > The portlet jar was in the WEB-INF/lib directory of the pa project. > Unfortunately, upon removal the error(s) still persist. > > > On Dec 10, 2009, at 5:10 PM, David Sean Taylor wrote: > > > > > > > On Dec 7, 2009, at 12:46 PM, Smith, Nathan wrote: > > > >> I'm trying to run my portal-app on Jetspeed 2.2.0. It is configured > >> similar to the Jetexpress example with the exception that I'm using > >> Spring 3 to create my portlet(s) and control the dispatching. Could > >> this create problems for Jetspeed? I'm at a loss as to what else I > >> might need to configure within Jetspeed to get this running. > >> Responses would be greatly appreciated. > >> > >> I receive the following error(s): > >> > >> nested exception is > >> org.springframework.beans.factory.BeanCreationException: Error > >> creating bean with name 'portletFactory' defined in ServletContext > >> resource [/WEB-INF/assembly/registry.xml]: Initialization of bean > >> failed; > >> > >> nested exception is java.lang.LinkageError: loader constraint > >> violation: loader (instance of org/apache/catalina/loader/ > >> StandardClassLoader) previously initiated loading for a different > >> type with name "javax/portlet/PreferencesValidator" > > > > > > Is it possible that you linked in the Java Portlet API jar in your > > portlet application? Its already provided and should not be > > distributed in your WEB-INF/lib directory of your webapp > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
