This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Tiles with Spring 3.1.1 problem. Cannot find method in class
Arun Sanky
Greenhorn
Joined: Feb 26, 2013
Posts: 3
posted
0
Hi,
I am trying to integrate Spring 3.1.1 with tiles 2.x, But am getting the following errors. i have tried different versions of Tiles but this does not work.
Context resource [/WEB-INF/ottrweb-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.tiles.TilesApplicationContext.getContext()Ljava/lang/Object;
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
Bill Gorder wrote:Looks like you have conflicting versions of the tiles library on the classpath.
Can you please let me know the actual Tiles which needs to be used for resolving this issue.
Also, once i add conflicting versions in Maven, am unable to delete those. I am getting the same error even after deleting the whole Tiles configuration.
Can you please let me know the reason for that.