How to fix “unsupported class file major version 60” in IntelliJ?

I fixed this problem by changing the Gradle JVM settings in IntelliJ settings: In the Settings/Preferences dialog, go to Build, Execution, Deployment | Build Tools | Gradle. Under the Gradle section, change the Gradle JVM option. Select a Gradle JVM which works for you. See https://www.jetbrains.com/help/idea/gradle-jvm-selection.html#jvm_settings

intellij incorrectly saying no beans of type found for autowired repository

I had this same issue when creating a Spring Boot application using their @SpringBootApplication annotation. This annotation represents @Configuration, @EnableAutoConfiguration and @ComponentScan according to the spring reference. As expected, the new annotation worked properly and my application ran smoothly but, Intellij kept complaining about unfulfilled @Autowire dependencies. As soon as I changed back to using @Configuration, @EnableAutoConfiguration and @ComponentScan separately, the errors ceased. It seems Intellij 14.0.3 (and most likely, earlier versions too) is not yet … Read more

IDEA: javac: source release 1.7 requires target release 1.7

Most likely you have incorrect compiler options imported from Maven here: Also check project and module bytecode (target) version settings outlined on the screenshot. Other places where the source language level is configured: Project Structure | Project Project Structure | Modules (check every module) | Sources Maven default language level is 1.5 (5.0), you will see this version as the Module language level … Read more

Error: Module not specified (IntelliJ IDEA)

This is because the className value which you are passing as argument forforName(String className) method is not found or doesn’t exists, or you a re passing the wrong value as the class name. Here is also a link which could help you. 1. https://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html2. https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html#forName(java.lang.String) Update Module not specified According to the snapshot you have … Read more

Invalid signature file digest for Manifest main attributes exception while trying to run jar file

Some of your dependency JARs is a signed JAR, so when you combine then all in one JAR and run that JAR then signature of the signed JAR doesn’t match up and hence you get the security exception about signature mis-match. To fix this you need to first identify which all dependency JARs are signed … Read more