|
Out of the box I get this error when starting JBoss
with the "run" batch file:
2003-03-12 10:21:57,817 ERROR
[org.jboss.deployment.MainDeployer] could not start deployment:
file:/C:/jboss-3.0.6/server/default/deploy/http-invoker.sar/invoker.war/
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set; at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202) at org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:139) ...
...
...etc
I get more errors; all stating that the
javax.servlet.ServletContext.getResource method isn't there (or has a different
signature). This method is supposed to take a string as a parameter.
I checked the two packages that I suspect might be root causes here: the
servlets.jar package inside the JDK1.4 ".../jre/lib/ext" subdirectory, and the
javax.servlet.jar package in JBoss' ".../server/default/lib" subdirectory.
I didn't find any suspicious there.
My guess is that some jar package is being loaded
that contains the wrong version of the ServletContext class, but I don't know
which one. I have this same JBoss distribution installed on another
Windows 2000 box, and it runs fine out of the box. So it must be an
environment issue but I haven't been able to figure it out yet.
Has anyone seen this before and care to comment on
a possible solution?
Thanks!
MC The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. |
