MyEclipse创建Maven Web项目出错
来源:互联网 发布:php中分割字符串 编辑:程序博客网 时间:2024/05/31 11:03
问题一:Cannot install Dynamic Web Module 3.0 facet.
解决办法:
在web.xml中将web换成3.0版本。
问题二:Cannot upgrade/downgrade to Dynamic Web Module 3.1 facet. It is incompatibile with already installed facets: Java 1.6. Please modify project configuration.
解决办法:
项目=》属性=》MyEclipse=》Project Facets => 修改java为1.7
右键=》MavenMyeclipse=》Update Project即可解决
问题三:One or more constraints have not been satisfied.
Deployment Assembly跟java版本不匹配
解决办法:
在pom.xml中添加下面内容即可,同时也可以解决Maven->update project默认jdk的问题
<profiles>
<profile>
<id>jdk-1.8</id>
<!-- 另外一种激活方式 -->
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
</profiles>
- MyEclipse创建Maven Web项目出错
- maven 创建web项目出错
- myeclipse maven 创建 web项目
- myeclipse 创建maven web项目
- myeclipse maven web项目创建
- Myeclipse创建Maven Web项目
- MyEclipse创建maven-web项目
- Myeclipse创建Maven web项目
- MyEclipse下使用maven创建web项目
- 天易40----Myeclipse创建maven web项目
- MyEclipse中使用Maven创建web项目
- MyEclipse中用Maven创建Web项目
- 使用myeclipse创建maven web项目
- MyEclipse中创建maven web项目
- myeclipse创建maven项目
- myEclipse创建maven项目
- MyEclipse创建maven项目
- Myeclipse创建maven项目
- C-LEVEL 优化
- Dice HDU 5012
- Git-综述
- 窗体部件效果之颤抖窗体
- 论文笔记:Spatial Transformer Networks中的仿射变换和双线性插值
- MyEclipse创建Maven Web项目出错
- 【最近学习】
- 为什么Java中字符串被设计成不可变的?
- CentOS 6.7构建 OpenResty(Nginx)+PHP 7(php-fpm)+MySQL5.7 运行环境
- 面向对象-单例设计模式
- java中常用名词
- git命令大全(非常齐全)
- UVA514Rails
- JAVA日期格式化工具【L】