Problems with The first project using JFinal (The return type is incompatible with JspSourceDependent. getDependants (), dependants
April 08 4:35:34 org. apache. catalina. core. ApplicationDispatcher invoke
Severe: Servlet. service () for servlet jsp threw exception
Org. apache. jasper. JasperException: Unable to compile class for JSP:
An error occurred at line: [39] in the generated java file: [D: \ Tomcat 8.0 \ work \ Catalina \ localhost \ xiaomudu \ org \ apache \ jsp \ index_jsp.java]
The return type is incompatible with JspSourceDependent. getDependants ()
The reason is: In the jetty-server-8.1.8.jar, the returned value of getDependants is List <String> type,
The returned type of Tomcat 8.0 is Map <java. lang. String, java. lang. Long>.
The two are inconsistent.
Solution: Delete the jar package, that is, the jetty-server-8.1.8.jar.