cancel
Showing results for 
Search instead for 
Did you mean: 

Installation error - Only a type can be imported

FabioVaprio
Champ in-the-making
Champ in-the-making

Hi,

I'm trying to install community edition 7.3 on a Tomcat 10.1.13 with Java 20.0.2.

I think to have followed all steps of the documentation, but when I try to start the project, the following error appears.

Someone can help me? Thanks.

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

An error occurred at line: [14] in the generated java file: [C:\Program Files (x86)\Apache-Tomcat-10\work\Catalina\localhost\ROOT\org\apache\jsp\index_jsp.java]
Only a type can be imported. javax.servlet.ServletContext resolves to a package

An error occurred at line: [15] in the generated java file: [C:\Program Files (x86)\Apache-Tomcat-10\work\Catalina\localhost\ROOT\org\apache\jsp\index_jsp.java]
Only a type can be imported. javax.servlet.RequestDispatcher resolves to a package

image

0 REPLIES 0