0

I set Intellij Project Settings -> Modules -> Language level to 1.8.

But when I include tinkerpop 3.0.1-incubating in my pom file, the language level will automatically change to 5.0. Then I change it back to 1.8 manually.

When I try to run my program, there is a compile error: javac: source release 1.8 requires target release 1.8

I really want to use some features like switch(String) which is not available in 5.0.

How can I solve this problem?

Thanks very much.

liupro925
  • 45
  • 1
  • 6

0 Answers0