톰캣 버전 바꾸고 jsp 컴파일러 에러 날 때...

  • rmrf
    (¯\_(ツ)_/¯)
  • rmrf's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
10 Jul 2018 22:29 #3684 작성자: rmrf
rmrf 님의 글: 톰캣 버전 바꾸고 jsp 컴파일러 에러 날 때...
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [23] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
The type index_jsp must implement the inherited abstract method JspSourceImports.getPackageImports()

An error occurred at line: [23] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
The type index_jsp must implement the inherited abstract method JspSourceImports.getClassImports()

An error occurred at line: [37] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
The type Set is not generic; it cannot be parameterized with arguments <String>

An error occurred at line: [39] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
The type Set is not generic; it cannot be parameterized with arguments <String>

An error occurred at line: [42] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_packages cannot be resolved to a variable

An error occurred at line: [43] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_packages cannot be resolved

An error occurred at line: [44] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_packages cannot be resolved

An error occurred at line: [45] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_packages cannot be resolved

An error occurred at line: [46] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved to a variable

An error occurred at line: [47] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved

An error occurred at line: [48] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved

An error occurred at line: [49] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved

An error occurred at line: [50] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved

An error occurred at line: [51] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved

An error occurred at line: [52] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
_jspx_imports_classes cannot be resolved

An error occurred at line: [62] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]
The type Set is not generic; it cannot be parameterized with arguments <String>

An error occurred at line: [63] in the generated java file: [/apache-tomcat-8.0/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.java]


여러가지 이유가 있겠지만?


본인 같은 경우는 WEB-INF/lib 에 오래된 jar 파일이 문제를 일으켰다...


더 보니까 지금은 쓰지 않는 jar 여서... 과감히 빼고... 해결했다...
Time to create page: 0.043 seconds
Powered by Kunena Forum