Hi gang,
I'm all of a sudden getting a weird error that says that the tld file
bearing the name of my project can't be found and I now can't access my
app... this is quite strange as I hadn't been working on the app for a
while and it looks like I fouled something but I'm having trouble
figuring out what.
I tried regenerating the project from the dist and starting over and
still got the same error so I'm suspicious I might have fouled something
in my environment.
Also, when I deploy the app I now get an error complaing about a NPE in
the tld listeners... eh, wot?!?! I'm not sure these are related
either, as I was getting the NPE before the "foo.tld can't be found"
error... the NPE didn't stop the app from running, in fact the app
didn't seem to notice that problem at all... Does anybody know what
would cause this? I'm most concerned about the missing tld file but
would like to fix them both.
The first error looks like this:
[dox] ERROR [http-8080-Processor25] [jsp].invoke(253) |
Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /index.jsp(1,1) File
"/WEB-INF/<my-app-name>.tld" not found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86)
at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
at
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
at
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:484)
at
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
And the NPE error looks like this:
May 21, 2007 7:03:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive <my-app-name>.war
May 21, 2007 7:03:24 PM org.apache.catalina.core.StandardContext
processTlds
SEVERE: Error reading tld listeners java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.log4j.Category.isEnabledFor(Category.java:746)
at
org.apache.commons.logging.impl.Log4JLogger.isTraceEnabled(Log4JLogger.java:327)
at
org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:581)
at
org.apache.catalina.startup.TldConfig.execute(TldConfig.java:282)
at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4302)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4139)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]