maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed
2015-09-15 12:05
507 查看
项目problem提示错误
JAX-RS (REST Web Services) 2.0 can not be installed : One or more constraints have not been satisfied
JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer
解决方案
1.在pom.xml文件中添加
JAX-RS (REST Web Services) 2.0 can not be installed : One or more constraints have not been satisfied
JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer
解决方案
1.在pom.xml文件中添加
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.2</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build> 2.右键项目Update Maven Project
相关文章推荐
- java常用设计模式学习心得
- JAVA利用反射映射JSON对象为JavaBean
- SPring中quartz的配置(可以用实现邮件定时发送,任务定时执行,网站定时更新等)
- Struts2中的Action
- 关于eclipse运行报错的问题 kill adb
- JDK源码阅读之Iterable接口,使你的类可以迭代遍历
- struts上传
- 走进spring之springmvc实战篇(二)
- SSH小谈
- JAVA正则表达式语法大全
- JDK源码阅读之Iterator迭代器接口
- Java学习笔记---设计模式之建造者模式(一)
- 【ssh】struts2 拦截器详解,登录拦截案例
- 详解Java解析XML的四种方法—DOM/SAX/jdom/dom4j
- telnet显示输入内容的命令
- Eclipse快捷键 10个最有用的快捷键
- Java读文件的方式
- 你真的会用java replaceAll函数吗?
- java后台实现日期转换成相应的格式
- JAVA 之项目部署更新不上