If you are an IntelliJ IDEA user and you are using Maven in your project, and if you switch between 2 projects and theese projects are target to different versioned jres, then somehow intelliJ gives the error :"source release 1.6 requires target release 1.6"
if this is the case, working solition is this;
Open; File > Settings > Compiler > Java Compiler
Delete; text inside textfield labeled with "Additional Command Line Parameters"
(-target 1.5)
Then make intelliJ re-import your project.
No comments:
Post a Comment