Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方法
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                eclipse maven 項目報
Description Resource Path Location Type
Dynamic Web Module 3.0 requires Java 1.6 or newer. bdp line 1 Maven Java EE Configuration Problem
Description Resource Path Location Type
One or more constraints have not been satisfied. bdp line 1 Maven Java EE Configuration Problem
這個錯誤是很常見的。
而且設置了 java compiler 為 1.6 以上了還是無效。
解決方法:
在maven的pom.xml里添加依賴
<build><plugins><!-- define the project compile level --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.7.0</version><configuration><source>1.8</source><target>1.8</target></configuration></plugin></plugins></build>總結
以上是生活随笔為你收集整理的Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 使用nginx代理,怎么获取真实的IP
- 下一篇: Angular CLI 安装
