I am getting exactly the same error:
08:23:50,052 INFO [TomcatDeployment] deploy, ctxPath=/userstats-portlet
08:23:50,121 INFO [[/userstats-portlet]] Set web app root system property: 'userstats.ROOT' = [/opt/jboss/liferay/jboss-5.1.0.GA/server/default/deploy/userstats-portlet.war/]
08:23:50,175 INFO [[/userstats-portlet]] Initializing Spring root WebApplicationContext
08:23:50,175 INFO [ContextLoader] Root WebApplicationContext: initialization started
08:23:50,245 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@680cb295: display name [Root WebApplicationContext]; startup date [Wed Aug 26 08:23:50 COT 2009]; root of context hierarchy
08:23:50,314 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/context/applicationContext.xml]
08:23:50,419 INFO [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@680cb295]: org.springframework.beans.factory.support.DefaultListableBeanFactory@3bc81588
08:23:50,552 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3bc81588: defining beans [org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,messageSource,jspViewResolver,defaultExceptionHandler,systemPlaceholderConfigurer,requiredAnnotationBeanPostProcessor]; root of factory hierarchy
08:23:50,575 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 395 ms
08:23:50,939 INFO [STDOUT] 08:23:50,939 INFO [PortletHotDeployListener] Registering portlets for userstats-portlet
08:23:50,968 INFO [DispatcherPortlet] Initializing portlet 'UserStatistics'
08:23:50,979 INFO [DispatcherPortlet] FrameworkPortlet 'UserStatistics': initialization started08:23:50,986 INFO [STDOUT] 08:23:50,984 ERROR [PortletHotDeployListener] java.lang.IllegalStateException: Root context attribute is not of type WebApplicationContext: com.liferay.portal.spring.context.PortalApplicationContext@7927963: display name [Root WebApplicationContext]; startup date [Wed Aug 26 08:22:58 COT 2009]; root of context hierarchy
java.lang.IllegalStateException: Root context attribute is not of type WebApplicationContext: com.liferay.portal.spring.context.PortalApplicationContext@7927963: display name [Root WebApplicationContext]; startup date [Wed Aug 26 08:22:58 COT 2009]; root of context hierarchy
at org.springframework.web.portlet.context.PortletApplicationContextUtils.getWebApplicationContext(PortletApplicationContextUtils.java:72)
...
I've attached some files to show my settings ...
Somebody can help us please ?
Regards
Please sign in to flag this as inappropriate.