IDEA: javac: source release 1.7 requires target release 1.7

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

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

\"enter

How can I correc

18条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 06:56

    Modify the compiler setting file of the project in the following path and change the 'target' to 1.7:

    /project/.idea/compiler.xml

    
      
    
    

提交回复
热议问题