求助:Unable to compile class for JSP,linux
出错信息:
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: 7 in the generated java file
Only a type can be imported. com.utils resolves to a package
An error occurred at line: 16 in the jsp file: /console/default/fileUpload.jsp
utils cannot be resolved
13:
14: String dir = application.getRealPath("/")+"conf/config.xml";
15: System.out.println(dir);
16: String initpath = utils.getPath(dir);
17: System.out.println("---"+initpath+"---");
18:
19: String reqPath = "";