I am trying to run
struts( I tried with various releases of Struts) example in
Tomcat 4.0.3 I get following error when I try to access struts-example from browser:
org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/struts-bean.tld: Internal Error: File /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd not found
at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:226)
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:283)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:219)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1162)
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:758)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
The error is log file is similar :
2002-04-15 16:10:37 Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/web.xml: Internal Error: File /javax/servlet/resources/web-app_2_3.dtd not found
2002-04-15 16:10:37 StandardHost[localhost]: Installing web application at context path /struts-example from URL jar:file:C:\Program Files\Apache Tomcat 4.0\webapps\struts-example.war!/
2002-04-15 16:10:37 WebappLoader[/struts-example]: Deploying class repositories to work directory C:\Program Files\Apache Tomcat 4.0\work\localhost\struts-example
2002-04-15 16:10:37 WebappLoader[/struts-example]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to C:\Program Files\Apache Tomcat 4.0\webapps\struts-example\WEB-INF\lib\commons-beanutils.jar
2002-04-15 16:10:37 WebappLoader[/struts-example]: Deploy JAR /WEB-INF/lib/commons-collections.jar to C:\Program Files\Apache Tomcat 4.0\webapps\struts-example\WEB-INF\lib\commons-collections.jar
2002-04-15 16:10:37 WebappLoader[/struts-example]: Deploy JAR /WEB-INF/lib/commons-dbcp.jar to C:\Program Files\Apache Tomcat 4.0\webapps\struts-example\WEB-INF\lib\commons-dbcp.jar
2002-04-15 16:10:37 WebappLoader[/struts-example]: Deploy JAR /WEB-INF/lib/commons-digester.jar to C:\Program Files\Apache Tomcat 4.0\webapps\struts-example\WEB-INF\lib\commons-digester.jar
I am using binary dist. of struts. Iam surprised why is it lokking javax/resources which is not there in servlet.jar.
Any help is welcome.