Loading the project into tocat in eclipse reports an error: Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules

 

The first solution: just find the configuration file of the imported project, for example: D:\company\iptv_gx\iptv_gx\.settings\org.eclipse.wst.common.project.facet.core.xml Modify this The configuration file can be as shown below, and the version number can be modified.

 

The second solution: Of course, it is also possible to download the tomcat 7 version.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325160415&siteId=291194637