1.
Multiple annotations found at this line:
- String cannot be resolved to a type
- The method getContextPath() from the type HttpServletRequest refers to the missing type String
解决方案:
右键自己的项目,然后去Build Path
找到Configure Build Path 点击进入
然后找到Libraries ,点击侧拉的add libraries
然后移除错误的library
关于自己java项目中出错
最新推荐文章于 2023-01-06 20:38:46 发布