File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes HELP!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HELP!!!" Watch "HELP!!!" New topic


Dan Caylor

Joined: Jan 16, 2001
Posts: 11
I've posted 4 times about this and I still haven't received a response that has helped
Error: 500
Location: /SimplePrimeExample.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to load class coreservlets.tags.SimplePrimeTag
at org.apache.jasper.compiler.TagBeginGenerator.init(
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(
at org.apache.jasper.compiler.Parser$Tag.accept(, Compiled Code)
at org.apache.jasper.compiler.Parser.parse(, Compiled Code)
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Compiler.compile(, Compiled Code)
at org.apache.jasper.runtime.JspServlet.loadJSP(
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(
at org.apache.jasper.runtime.JspServlet.serviceJspFile(
at org.apache.jasper.runtime.JspServlet.service(, Compiled Code)
at javax.servlet.http.HttpServlet.service(
at org.apache.tomcat.core.ServletWrapper.handleRequest(, Compiled Code)
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
I keep getting errors like this. What's wrong?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

wow! you seem to be yelling hurrraaaaa!
org.apache.jasper.JasperException: Unable to load class coreservlets.tags.SimplePrimeTag
Based on this I would first chk if coreservlest package is
in my classpath or not. It could also be a problem with your
package sturcture.
- satya

Take a Minute, Donate an Hour, Change a Life
Dan Caylor

Joined: Jan 16, 2001
Posts: 11
I originally thought that was it, here, this is my classpath, is it in there correctly?
C:\Houdini\bin;C:\Houdini\dsolib;C:\Houdini\houdini\sbin;C:\Houdini\gnu\i386\bin;;%SYSTEMROOT%;%SYSTEMROOT%\COMMAND;C:\JDK1.2.1\BIN;C:\PERL\BIN;"%PATH%";%SYSTEMROOT%\system32;%SYST EMROOT%\system32\WBEM;C:\JDK1.2.1\BIN;C:\AW\Maya3.0\bin;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\webapps\ROOT\WEB-INF\classes\%CLASSPATH %
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
It looks a lot like you've confused the PATH (used to find exacutable programs) and CLASSPATH (used to find java classes) variables. and mangled them both together. I would never expect to see "bin" directories and ".jar" files in the same system variable.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Dan Caylor

Joined: Jan 16, 2001
Posts: 11

So what do I do to fix it? How do I get coreservlets in there?
I agree. Here's the link:
subject: HELP!!!
It's not a secret anymore!