Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error 500 hello tag example....from book JSP_J2EE

 
Bruno Korcinski
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I'm getting Error 500 Unable to load class null
I have checked all directories and it looks OK,and tag libraries...!...
Can sombody help me?
Thanks Igor.
Error: 500
Location: /tagext/hello.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to load class null
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:121)

from LOG:
Sun Oct 26 14:56:17 EST 2003 Scratch dir for the JSP engine is: D:\jakarta-tomcat\work\localhost_8080%2Ftagext</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:17 EST 2003 IMPORTANT: Do not modify the generated servlets</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 JspEngine --> /hello.jsp</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 ServletPath: /hello.jsp</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 PathInfo: null</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 RealPath: E:\_Igor\JAVA_book_code\PJ2EE_edition\PSP_J2EE\hello\hello.jsp</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 RequestURI: /tagext/hello.jsp</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 QueryString: null</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 Request Params: </JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:32 EST 2003 Classpath according to the Servlet Engine is: E:\_Igor\JAVA_book_code\PJ2EE_edition\PSP_J2EE\hello\WEB-INF\classes</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:33 EST 2003 Warning: Unknown element tlib-version in TLD</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:33 EST 2003 Warning: Unknown element jsp-version in TLD</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:33 EST 2003 Warning: Unknown element short-name in TLD</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:33 EST 2003 Warning: Unknown element description in TLD</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:33 EST 2003 Warning: Unknown element listener in TLD</JASPER_LOG>
<JASPER_LOG> Sun Oct 26 14:56:33 EST 2003 Warning: Unknown element tag-class in tag</JASPER_LOG>
:roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic