I have a standard java web application package under public_html. My java source code is under WEB-INF/classes/. My jsp files are under public_html and public_html/version/v1. Now all of my jsp file under public_html is running fine, however, the jsp files under public_html/version/v1 do not work with following error:

*HTTP Status 500: Unable to compile for class JSP:
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 8 in the jsp file: /index.jsp
Utility cannot be resolved to a type *

Utility is one of my java file under WEB-INF/classes.

It looks like there is a problem with tomcat configuration of either server.xml or web.xml. Can anybody help me to make the jsp files under public_html/version/v1/index.jsp work?


2 Years
Discussion Span
Last Post by esprittn

It is possible to get a copy of your project to test it and could you tell me what version of java and tomcat you use?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.