导入其他人项目Description Resource Path Location Type Target runtime Apache Tomcat v9.0 is not defined. class_springmvc Unknown Faceted Project Problem
导入别人项目会之后把jre和servser的改成自己的。但是还是报这个错误。错误说的是tomcat的版本是导别人项目的tomcat版本,但是为什么还会出现 这个问题呢,因为没有改干净被,还有的地方没有改。
【项目】-【右键】->【Properties】->【Targeted-Runtimes】 把你的tomcat打勾 然后 保存
就可以了。
参照博客:https://blog.csdn.net/yinxinhui/article/details/80612013