File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with jsps in tomcat 5.0.25

 
Henry Dunn
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never had problems with tomcat in the past.
However, I get errors whenever I try to execute even the simplest jsp pages, pages with only html code in them. I recently put such a file in the webapps/ROOT directory and got the following results when I tried to access it:
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file
[javac] /usr/local/tomcat/work/Catalina/localhost/_/org/apache/jsp/test_jsp.java:56: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
[javac] if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
[javac] ^
[javac] 1 error

I don't know what I'm doing wrong, please help.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Tomcat forum.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic