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.
exception

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?

Thanks,

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.