eclipse ide 报错的几个问题配置

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即可。

在这里插入图片描述
在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值