I am trying to upgrade the struts version from 6.2 to 6.3.0.2.
Struts :
struts2-core-6.3.0.2.jar
struts2-spring-plugin-6.3.0.2.jar
struts2-tiles-plugin-6.3.0.2.jar
Spring version:5.3.34
Getting below error after upgrading to 6.3.0.2
ERROR org.springframework.web.servlet.DispatcherServlet
org.springframework.beans.factory.BeanCreationException: Error creating bean with name tiles Configurer’s Lookup method resolution failed; nested exception is java.lang.IllegalStateException: failed to introspect Class [org.springframework.web.servlet.view.tiles3.TilesConfigurer) from ClassLoader (webappClassLoader)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor determineCandidateConstructors(AutowiredAnnotationdeanPostProcessor.java:298) -[ spring-beans-5.3.34.jar:5.3.34]
.
.
.
Caused by: java.lang.NoClassDefFoundError: org/apache/tiles/startup/TilesInitializ
er
removed below tiles jars for this upgrade.
tiles-compat-3.0.0.jar
tiles-core-3.0.8.jar
tiles-el-3.0.8.jar
tiles-Freemarker-3.0.8.jar
tiles-jsp-3.0.8.jar
tiles-ognl-3.0.8.jar
tiles-request-api-1.0.7.jar
tiles-request-sp-1.0.7.jar
tiles-request-servlet-1.0.7.jar
tiles-servlet-3.0.8.jar
tiles-template-3.0.8.jar
Getting below errors after removing tiles jars.
Java. Lang. IncompatibleClasschangeError: Class org.apache.tiles.el.fiattributeEvaluator does not implement the requested Interface org.apache.tiles.evaluator Attributevaluater at org.apache.tiles.impl. BasicTilesContainer evaluate (BasicTilesContainer.java:267)
Kindly provide some hint to resolve this errors.
Spring 5.3.34 is compatible with struts 6.3.0.2?
Can we remove the external tiles?
Suganya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.