• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

java.lang.ClassCastException: org.apache.tiles.jsp.taglib.InsertAttributeTag cannot be cast to javax

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Tomcat 6.0.16 and spring 3.0.5. I'm using tiles for the layout.
Tomcat trows the folowing exception when trying to render a page



The pom.xml




Many thanks in advance
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That isn't a Spring question, that is a Tiles/Java question. This is the Spring forum.

Mark
 
Frank VanOor
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This exception occurs after I've upgraded from Spring 2.5.6 to 3.0.5. So, somehow spring is involved, or I'm I wrong ?

Frank
 
Mark Spritzler
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Frank VanOor wrote:This exception occurs after I've upgraded from Spring 2.5.6 to 3.0.5. So, somehow spring is involved, or I'm I wrong ?

Frank



Possibly. I hate tiles myself, so I avoid using it. (Bad experience I had in the past) Anyway, since it was all Tiles classes and javax. classes makes me think it might not be Spring specific, but can't be 100% sure, if you are positive that the only thing you changed was the Spring jar files. It could be that the jar file dependencies changed, and I mean down a couple levels of dependencies. You know how one dependency could depend on another third party, which could depend on another third party and we are down four levels of pom files, and one of thise down deep is a wrong version of a third party jar file, and it needs to be excluded.

Stuff like that happens.

Wish I could help more.

Mark
    Bookmark Topic Watch Topic
  • New Topic