Changing Dynamic Web Module version in Eclipse Maven Project

后端 未结 3 1707
轮回少年
轮回少年 2020-12-29 06:58

I\'m trying to set up Dynamic Web Module 3.0 in order to support Java 6 development. I\'m getting this error in my Problems tab of eclipse whenever I do Maven > Update

3条回答
  •  既然无缘
    2020-12-29 07:23

    you can add this to the pom.xml:

    
        
            
            org.apache.maven.plugins
            maven-compiler-plugin
            3.1
            
                1.7
                1.7
            
        
        
    
    

    Works in Spring STS 3.6.3 :)

    edit:

    source: http://crunchify.com/how-to-solve-dynamic-web-module-3-1-requires-java-1-7-or-newer-in-eclipse/

提交回复
热议问题