![]() #ERROR: Error during SonarScanner execution INFO: Default locale: "en_AU", source code encoding: "windows-1252" (analysis is platform dependent) INFO: Analyzing on SonarQube server 9.4.0 ![]() INFO: Project root configuration file: C:\agent_a_work\189.sonarqube\out\sonar-project.properties INFO: Scanner configuration file: C:\agent_a_work_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.4.0\classic-sonar-scanner-msbuild\sonar-scanner-4.\bin.\conf\sonar-scanner.properties INFO: User cache: C:\Windows\system32\config\systemprofile.sonar\cache INFO: Java 1.8.0_231 Oracle Corporation (32-bit) Has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 I'm getting the same problem with Sonarqube Consuming Jar Artifact of a Specific Java Version.If it's Maven-related issue, you can modify POM by specifying the -source and -target of the Java Compiler. I forgot to specify the correct version for Run/ Debug Configurations -> Build and run to Java 18 instead of Java 17:Īs it was compiled with a newer Java version, but running on the older one. Project Structure -> Platform Settings -> SDKs:.Project Structure -> Project Settings -> Modules:. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |