【maven 报错】maven项目update之后报错One or more constraints have not been satisfied.

在右键项目Update Project之后
报错:
One or more constraints have not been satisfied.
Spring 4.1 requires Java 1.6 or newer.

解决问题:

The solution is I have to goto to the ".settings" folder which is at the project location and deleted "org.eclipse.wst.common.project.facet.core.xml" file and restarted the process again. This time it worked

这个从网上照的一个办法,比较好用,有作用。

就是删除掉.setting文件下的这个文件。然后将项目从MyEcplise中删掉,再Import进去,然后,发现项目不能被Tomcat识别了。

然后右键项目-->properties-->myEcplise下面的-->project Facts 将项目的web版本,java版本,hibernate版本等一并都选择好,再回来项目就好了。

时间: 2024-10-06 20:36:43

【maven 报错】maven项目update之后报错One or more constraints have not been satisfied.的相关文章

项目导入之后报错:The import javax.servlet cannot be resolved

项目导入之后报错:The import javax.servlet cannot be resolved 解决方法:在Eclipse中,右击项目,选择Build Path->configure build path->Libraries->Add External JARs,找到你计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",添加点击“确定”   完成之后如下图所示: 原文地址:https://www.cnblogs.com/

【报错】项目启动部署时报错:java.lang.NoSuchMethodError

报错: ===================================================================================================== 项目启动部署报错: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/Ref

maven update 以后报错。

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bjproject]] at java.util.concurrent.FutureTask.report(Unknown Source) at jav

新建的mvc项目运行之后报错找不到页面

一定要先查看路径是否正确,一个controller 在view中 这个controller要对应一个文件夹.比如homecontroller 在视图view中就要建一个文件夹来放home对应的视图

项目中的报错信息,maven报错等的总结

Maven是一个自动化的构建和管理工具.在项目开发中,如果遇到了错误(红叉),一般有如下的解决方法: 1.java.lang.UnsatisfiedLinkError: E:\apache-tomcat-7.0.52\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform 遇到以上的情况,http://www.apache.org/dist/tomcat/tomcat-connectors/native/ 到该

关于Maven报错的一些解决办法(别处贴的)

1.警告:The tag handler class for "s:form"(org.apache.struts2.views.jsp.ui.FormTag) was not found on the JavaBuild Path这个问题终于可以解决了,在出问题的页面  <s:form> 标签前后删除空格后保存文件警告即可消失,即<s:form>为改行的起始,然后保存. 2.Eclipse下javacompiler level does not match t

Maven报错

今天把项目down下来,项目,报错maven clean ,install 没解决,然后jdk版本也对,maven,M2-HOME安装没有问题. 问题标志为maven install 下的jar包不完全 项目运行报错: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) on project operationPlat-i

创建Maven报错

Maven报错:maven-archetype-webapp:RELEASE from any of the configured repositories 今天学习maven,在控制台下新建maven项目没有问题,但是在STS(eclipse)下创建maven项目老是报错,郁闷死了: ---------------------------------------------------- 错误信息:Could not resolve archetype org.apache.maven.arc

maven报错(http://repo.maven.apache.org/maven2): No response received after 60000

报错详情:Failure to transfer com.thoughtworks.xstream:xstream:pom:1.3.1 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced