Java version and error messages
I am having two problems.
- In my main code it says it is expecting a class or interface under "/hello" and "/".
get("/hello", (req, res) -> "Hello World"); get("/", (req, res) -> "Hello Students");
In addition, I continually need to update the modules to Java 1.8 and the target bytecode to 1.8 every time I "Refresh all Gradle Projects".
I've also had to add: compile 'ch.qos.logback:logback-classic:1.1.7' to my dependencies.
It seems like at every step there is some bug which requires lots effort and searching to figure out. Is there a better version of intelliJ IDEA. I'm using the version below and it's very frustrating. Thanks, Paul
IntelliJ IDEA 2016.2 Build #IC-162.1121.32, built on July 9, 2016 JRE: 1.8.0_45-b15 amd64 JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation