• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Runtime ERROR - Spring 3.0 MVC sample "mvc-basic" in Maven2

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ahhhh, every other step seemed to have a problem...

I ran "mvc-basic" (built with Maven2 and Eclipse) and got this error at initial load time. I have checked the dependencies in my app and in Tomcat. They are identical versions and are in the expected places. It seems to be complaining about the c.tld couldn't be read.

This is the error when I try to bring up the first page:


Any help will be greatly appreciated. THANK YOU.
 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,

I found an advice that worked for me to solve the above problem.

http://forums.sun.com/thread.jspa?messageID=10278758#10278758

1.Unable to read TLD "META-INF/c.tld" from JAR file "file:/ ...
2./.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyApp/WEB-INF/lib/jstl-1.2.jar":
3.org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class:
4.org.apache.taglibs.standard.tlv.JstlCoreTLV



What I had to do was to remove the servlet-api-2.5.jar and jsp-api-2.1.jar (any version that you're using) from my deployment directory. Essentially, my path to it was:
c:/<your project>.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/<app name>/WEB-INF/lib/jstl-1.2.jar and servlet-2.5.jar.

Good Luck
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic