| Author |
Runtime ERROR - Spring 3.0 MVC sample "mvc-basic" in Maven2
|
Mimi Tam
Ranch Hand
Joined: Mar 05, 2010
Posts: 121
|
|
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
Joined: Mar 05, 2010
Posts: 121
|
|
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
|
 |
 |
|
|
subject: Runtime ERROR - Spring 3.0 MVC sample "mvc-basic" in Maven2
|
|
|