![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java相关问题
Minty-L
这个作者很懒,什么都没留下…
展开
-
解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误
解决问题链接:https://www.cnblogs.com/hujunzheng/p/5698968.html转载 2020-08-10 14:13:57 · 191 阅读 · 0 评论 -
报错:Java compiler level does not match the version of the installed Java project facet.
电脑里面安装了两个JDK,目前项目使用的是JDK1.7,出现如下错误:1.Window->Preferences->Java->Compiler,修改配置:2.右击项目->properties->Java Compiler,修改配置:3.右击项目,Build Path ->Configure ->Java Build Path->Libraries4.Updata Project。...原创 2020-08-10 14:11:56 · 132 阅读 · 0 评论 -
Could not publish to the server. java.lang.IndexOutOfBoundsException
Maven项目,Tomcat8.0启动时报错,报错信息如下:1、关闭eclipse2、删除.m2文件,给文件在C:\Users\用户名3、重新打开eclipse,右击项目名Maven -> update project4、开始下载文件,这个时间挺长的,文件下载完成后,就不会出现报错信息了。...原创 2020-08-10 09:57:37 · 917 阅读 · 0 评论 -
org.springframework.web.context.ContextLoaderListener问题解决
解决方法:1.右键单击工程项目 ->点击 properties,选择 Deployment Assembly2.点击 Add -> Java Build Path Entries -> Next,添加Project and External Dependencises。3.Clean project and server. 重启server原创 2020-08-07 16:38:13 · 183 阅读 · 0 评论 -
解决访问 http://localhost:8080/ 报404错误问题
原因:eclipse将tomcat的项目发布目录(tomcat 目录中的webapp)重定向了,所以你会发现在tomcat安装目录下的webapp目录里面找不到你的项目文件。解决方法:重新配置下tomcat服务器,1.选择Use tomcat installation(Task control of Tomcat installation) 即选择tomcat的安装目录来作为项目的发布目录。2.将Deploy Path的默认值"wtpwebapps"改成"webapps"。...原创 2020-08-07 14:24:21 · 16996 阅读 · 2 评论 -
Referenced file contains errors问题
配置文件 xml中,Problems:Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd).方法一:Eclipse 上方菜单栏中选择 Project –>clean ,清除缓存。方法二: 1:打开Preferences -> General -> Network Connections -> Cache ;2:点击按钮Remove All原创 2020-08-03 16:57:21 · 321 阅读 · 0 评论