Hi,
I've some really hard trouble with JSP and/or struts and tomcat. Yesterday it
worked all fine but after changing a simple jsp (remove a row from a table) I
get lots of compile errors when calling a jsp (see my post "can't load any JSP
anymore" in [email protected]). Because of that I've tried to install a
fresh copy of the latest tomcat version (5.5.19) and copied all the settings
and the additionally used libraries from the old installation to the new one (
at least I believe it). But now I can't start my struts application anymore. I
get the following error in the browser:
org.apache.jasper.JasperException: File "/jsp/struts-html" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:180)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
org.apache.jasper.compiler.Parser.parse(Parser.java:122)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
And in the tomcat log file I found the following error:
2006-01-31 17:08:07,482 [ERROR] ActionServlet.Unable to initialize Struts
ActionServlet due to an unexpected exception or error thrown, so marking the
servlet as unavailable. Most likely, this is due to an incorrect or missing
library dependency.
javax.servlet.ServletException: [v.1.2M10 January 5 2006] Global exception.
at
com.sr2.services.InitialisationService.init(InitialisationService.java:43)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
How can I figure out which library is missing ? I'm not sure is it related but
when I start tomcat I get another error that no JDBC driver was found (see
another post of me called "Cannot create JDBC driver" in the tomcat mailing
list). I think that can't be true. There is *definitly* the correct jdbc driver
in the common/lib directory. Also I'm not sure is it a struts problem or a
tomcat problem. But because of the error message I post it here.
Thanks, Lothar
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]