wood burning stoves 2.0*
The moose likes JSF and the fly likes Error: Unable to read TLD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Error: Unable to read TLD "META-INF/jsf_core.tld" from JAR file " Watch "Error: Unable to read TLD "META-INF/jsf_core.tld" from JAR file " New topic
Author

Error: Unable to read TLD "META-INF/jsf_core.tld" from JAR file

Noble Raveendran
Greenhorn

Joined: Mar 08, 2006
Posts: 2
Hi All,

I get the following exception when I try to access my jsf page.
I have pasted a part of the stacktrace.
I am using Tomcat 5.0.28

I don't have any jsf jars in Tomcat/common/lib or Tomcat/shared/lib

Has anyone come across this ? Could you plz help me.

Thanks,
Noble.

org.apache.jasper.JasperException: Unable to read TLD "META-INF/jsf_core.tld" from JAR file "file:/C:/Tomcat/webapps/JSF/WEB-INF/lib/jsf-impl.jar": java.lang.IllegalStateException: zip file closed

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:183)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
[ March 08, 2006: Message edited by: Noble Raveendran ]
Noble Raveendran
Greenhorn

Joined: Mar 08, 2006
Posts: 2
Hi All,

I sorted out the issue.
JAVA_HOME was pointing to jdk1.3 and that's how the whole issue arose.
I changed it to j2sdk1.4.2_05.

That worked !

Thanks!
Noble
gunjan bohra
Ranch Hand

Joined: Mar 24, 2004
Posts: 40
If you have already JDK1.4 in your class path .
Any Problem is still coming !!!
For Fixed This problem using following URL:
http://ryandaigle.com/pebble/2005/01/27/1106856324774.html

Enjoy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error: Unable to read TLD "META-INF/jsf_core.tld" from JAR file