• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

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
 
Poop goes in a willow feeder. Wipe with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic