IDEA: javac: source release 1.7 requires target release 1.7

后端 未结 18 1095
青春惊慌失措
青春惊慌失措 2020-11-22 06:26

When running a JUnit test, using IntelliJ IDEA, I get

\"enter

How can I correc

18条回答
  •  名媛妹妹
    2020-11-22 07:14

    Have you looked at your build configuration it should like that if you use maven 3 and JDK 7

    
        SpringApp
        
            
                maven-compiler-plugin
                
                    1.7
                    1.7
                
            
            ...
        
        ...
    
    

提交回复
热议问题