Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPaul Clifford
1,088 PointsJava 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