Error: java: Compilation failed: internal java compiler error
1. Open File –> Setting —> Build,Exception,Deployment –> Compiler –> Java Compiler Set the value of Target bytecode version to jdk version in Module.
2. Project 2 jdk:File ->Project Structure->Project Settings ->Project
3. Project jdk: File ->Project Structure->Project Settings ->Modules
4. pom.xml file in jdk version check
1. Open File –> Setting —> Build,Exception,Deployment –> Compiler –> Java Compiler Set the value of Target bytecode version to jdk version in Module.
2. Project 2 jdk:File ->Project Structure->Project Settings ->Project
3. Project jdk: File ->Project Structure->Project Settings ->Modules
4. pom.xml file in jdk version check