1、 Error information
Install springboot cli yesterday:
1. Download and unzip it directly from the official website;
2. Add the bin directory absolute path of the unzipped folder to the environment variable path;
3. Enter “ spring -- version code>" in the CMD to verify whether the installation is successful;
However, an error was reported during verification. The error information is as follows:
UnsupportClassVersionError:org/springframework/boot/loader/JarLauncher:Unsupporyed major.minor version 52.0
......
Could not find the main class
2、 Solutions
2.1. You need to set the JDK version
2.2. There are two ways to modify the language level, one is to click project structure, which is the button in the upper right corner of idea;
Modify JDK version and language level in project:
Modify the language level in modules:
3、 Results
Then there is no problem
Read More:
- Vue cli 4 CMD command creates an error: error command failed NPM install – loglevel error – solution
- @Solution of error failed to get response from / Vue cli version marker
- Solution to Vue cli · failed to download repo vuejs templates/webpack: connect etimeout followed by an IP digital error message
- Vue cli · failed to download repo vuejs templates / webpack: read econnreset
- Create Vue cli project and report error command failed: Yarn
- Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK
- mvn install Error: Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- Android Studio Install Error Failed to install Intel HAXM. For details, please check the installation log
- Springboot startup error failed to configure a datasource
- Springboot failed to parse MVC view
- Solution to inaccessibility of Vue cli scaffold project after startup
- springboot : Failed to decode downloaded font 和 OTS parsing error
- [Solved] VUE-pdf Plugin use error: To install them, you can run: npm install –save core-js/modules/es
- Unable to find or load master class org.codehaus.groovy.grails.cli.support
- Install Oracle VM VirtualBox Extension Pack failed to install the extension pack
- Android installation failure: install_ FAILED_ NO_ MATCHING_ ABIS: Failed to extract native libraries, res=-113.
- [Linux] failed to install libudev dev in Ubuntu 18.04
- Genymotion runs the arm program, install failed no matching ABIS failed to extract native libraries res = – 113
- Install of Android studio_ FAILED_ OLDER_ Solutions to SDK
- Android foundation error failed to install