今天导入一个项目后出现:

Multiple annotations found at this line:
	- String cannot be resolved to a type
	- No exception of type ServletException can be thrown; an exception type must be a 
	 subclass of Throwable
	- The method getContextPath() from the type HttpServletRequest refers to the missing type 
	 String
	- java.io.IOException cannot be resolved to a type
	- The type java.util.Map cannot be resolved. It is indirectly referenced from required .class 
	 files

然后就是一大堆jsp文件报错:

jsp解决导入项目后出现:Multiple annotations found at this line: - String cannot be resolved to a type - No

解决办法:

一:

jsp解决导入项目后出现:Multiple annotations found at this line: - String cannot be resolved to a type - No

找到Libraries下面报错的包,移除掉。

jsp解决导入项目后出现:Multiple annotations found at this line: - String cannot be resolved to a type - No

二:

jsp解决导入项目后出现:Multiple annotations found at this line: - String cannot be resolved to a type - No

jsp解决导入项目后出现:Multiple annotations found at this line: - String cannot be resolved to a type - No

相关文章:

  • 2021-11-18
  • 2021-08-29
  • 2021-08-24
  • 2021-12-03
  • 2021-05-10
  • 2021-08-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-15
  • 2021-09-30
  • 2021-07-07
  • 2021-05-28
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案