Announcement Announcement Module
Collapse
No announcement yet.
Spring 2.5.6 + Tiles 2.2.0 --> ServletContextAdapter not recognized Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    tiles configuration problem

    Hi,

    still stuck on this one.
    Any ideas?
    Thanks!

    Comment


    • #17
      tiles configuration problem - SOLVED!!!

      Originally posted by logixplayer View Post
      Hi,

      still stuck on this one.
      Any ideas?
      Thanks!
      OK Friends,

      This problem is now SOLVED!!!

      The issue was quite misleading. The error that was being reported was not what the problem really was. It turned out I had 3 versions of commons-beansutil.....
      I deleted 2 of them, and kept the latest version. The tiles rendered after that.
      Interestingly enough however, when I checked the library again, now 2 out of the 3 libraries exist. I tried deleting the older one again. However it keeps coming back. I suspect this is because one of the other dependencies is implicitly loading these libraries.

      All in all, it is now working. I wish I only had one of each type of library...I guess I will have to go through each explicitly declared library in my pom files and see what implicit dependencies there might be.
      For now though, it is working and I am a happy man!

      Comment


      • #18
        error with spring tiles 2.1.3 and Spring 3.0.1 release

        Originally posted by Marten Deinum View Post
        I suggest enable debug logging to see what is happening. I suspect that it cannot find some of the files.
        HI,
        I am using spring tiles 2.1.3 and Spring 3.0.1.RELEASE. but come with below exeception..... any idea?????

        Code:
         java.lang.UnsupportedOperationException: Class org.apache.tiles.web.util.ServletContextAdapter not recognized a TilesApplicationContext
        My dependency tree is as below

        [INFO] +- hsqldb:hsqldb:jar:1.8.0.10:compile
        [INFO] +- cglib:cglib-nodep:jar:3.0:compile
        [INFO] +- jstl:jstl:jar:1.2:compile
        [INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
        [INFO] | \- commons-pool:commons-pool:jar:1.3:compile
        [INFO] +- org.hibernate:hibernate-entitymanager:jar:3.2.1.ga:compile
        [INFO] | +- org.hibernate:hibernate-annotations:jar:3.2.1.ga:compile
        [INFO] | | \- javax.persistenceersistence-api:jar:1.0:compile
        [INFO] | +- javassist:javassist:jar:3.3.GA:compile
        [INFO] | \- jboss:jboss-archive-browsing:jar:5.0.0alpha-200607201-119:compil
        [INFO] +- org.springframework:spring-asm:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-beans:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-context:jar:3.0.1.RELEASE:compile
        [INFO] | \- org.springframework:spring-aop:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-core:jar:3.0.1.RELEASE:compile
        [INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
        [INFO] +- org.springframework:spring-dao:jar:2.0.8:compile
        [INFO] | \- aopalliance:aopalliance:jar:1.0:compile
        [INFO] +- org.springframework:spring-expression:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-hibernate3:jar:2.0.8:compile
        [INFO] | \- org.hibernate:hibernate:jar:3.2.5.ga:compile
        [INFO] | +- net.sf.ehcache:ehcache:jar:1.2.3:compile
        [INFO] | +- javax.transaction:jta:jar:1.0.1B:compile
        [INFO] | +- asm:asm-attrs:jar:1.5.3:compile
        [INFO] | +- dom4j:dom4j:jar:1.6.1:compile
        [INFO] | +- antlr:antlr:jar:2.7.6:compile
        [INFO] | +- cglib:cglib:jar:2.1_3:compile
        [INFO] | +- asm:asm:jar:1.5.3:compile
        [INFO] | \- commons-collections:commons-collections:jar:2.1.1:compile
        [INFO] +- org.springframework:spring-jdbc:jar:3.0.1.RELEASE:compile
        [INFO] | \- org.springframework:spring-tx:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-orm:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-web:jar:3.0.1.RELEASE:compile
        [INFO] +- org.springframework:spring-webmvc:jar:3.0.1.RELEASE:compile
        [INFO] +- org.apache.tiles:tiles-servlet:jar:2.1.3:compile
        [INFO] +- org.apache.tiles:tiles-jsp:jar:2.1.3:compile
        [INFO] +- org.apache.tiles:tiles-api:jar:2.1.3:compile
        [INFO] | \- commons-logging:commons-logging-api:jar:1.1:compile
        [INFO] +- org.apache.tiles:tiles-core:jar:2.1.3:compile
        [INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile
        [INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.8:compile
        [INFO] | \- log4j:log4j:jar:1.2.14:compile
        [INFO] +- commons-digester:commons-digester:jar:1.8.1:compile
        [INFO] +- commons-beanutils:commons-beanutils:jar:1.8.0:compile
        [INFO] \- com.github.roughy.http.util:HttpServletRequestX:ja r:0.1:compile
        [INFO] +- javax.servlet:servlet-api:jar:3.0-alpha-1:compile
        [INFO] +- junit:junit-dep:jar:4.8.1:compile
        [INFO] | \- org.hamcrest:hamcrest-core:jar:1.1:compile
        [INFO] +- org.mockito:mockito-all:jar:1.9.5-rc1:compile
        [INFO] \- com.google.inject:guice:jar:3.0:compile
        [INFO] \- javax.inject:javax.inject:jar:1:compile

        Comment

        Working...
        X