• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP!!!

 
Dan Caylor
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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(TagBeginGenerator.java:121)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:718)
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:132)
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:869)
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java, Compiled Code)
at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:479)
I keep getting errors like this. What's wrong?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
regds.
- satya
 
Dan Caylor
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dan Caylor
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hrrmmm

So what do I do to fix it? How do I get coreservlets in there?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic