lambda expressions not supported at this language level - IntelliJ


Problem: If you have just started using Java 1.8 then IntelliJ might prompt you with this message “lambda expressions not supported at this language level”

Solution: 

In IntelliJ IDEA:
In File Menu → Project Structure → Project, change Project Language Level to 8.0 - Lambdas, type annotations etc.
Note : Also make sure that you configure language level for every module

File Menu → Project Structure → Modules, but by default it should be the same as Project language level


Comments

Popular posts from this blog

XPATH for IE / internet explorer

Website's underlying technology for automation

All time good software testing books!