Eclipse IDE for Java Developers
Version: 2019-12 (4.14.0)
一 Java compiler level does not match the version of the installed Java project facet.
解决方法
\
和 这个 1.8 版本要统一
下面的
二 Referenced file contains errors (http://www.springframework.org/schema/mvc/s
Multiple annotations found at this line: - Referenced file contains errors (http://www.springframework.org/schema/context/spring-context.xsd). For more information, right click on the message in the Problems View and select "Show Details..." - Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
解决
三 Access restriction: The type FileURLConnection is not accessible due to restriction on required library
eclipse设置问题,它默认把这些受访问限制的API设成了ERROR
修改
的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以了。
Eclipse中New Server没有tomcat选项
Help->InstallNew Software->add -> http://download.eclipse.org/releases/kepler -> JST Server AdaptersExtensions(打勾选上该项)
如果没有导出war选项。
这个web 要里面要全选,全部安装。
tomcat 乱码
解决方案:打开Tomcat目录下——》conf目录——》logging.properties文件
- 打开找到下图此处,将UTF-8修改成“GBK“,再重新启动Tomcat即可。