Hi Everyone!
Now I'm upgrading from version 5.7.3 to 6.4.0. When I running program is have Error as below:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jp.co.kodnet.confluence.plugins.findattachment.actions.MyAction': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'servletContext' threw exception; nested exception is java.lang.IllegalStateException: Context attribute is not of type WebApplicationContext: Root WebApplicationContext: startup date [Thu Feb 22 08:36:28 ICT 2018]
MyAction is implements ServletContextAware, ServletRequestAware and override void setServletContext(ServletContext servletContext).
In void setServletContext have use setApplicationContext(WebApplicationContextUtils.getWebApplicationContext(servletContext));
And error occurrent at WebApplicationContextUtils.getWebApplicationContext(servletContext).
I don't know handle this error. Hope everyone help me. Thanks All!
Hi Hau,
Do you have an add-on installed from kodnet.co.jp related to attachments? I'm not able to find this add-on in the Marketplace but it seems to be causing the issue here.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.