Idea executes Maven command and prompts fatal error matching: invalid target distribution: 11
Environmental Science:
Project JDK version: 11
Environment variable JDK version: 1.8
Maven version: 3.3.9
Querying the data, we found that when executing the Maven command, we will find the JDK version of the environment variable, so the JDK version does not match the JDK version of the project
Treatment method
1. Before executing the Maven command, execute the command:
set JAVA_HOME=D:\Java\jdk\adopt-openjdk-11.0.11After execution, execute the Maven command
2. Modify environment variable Java_ Home, configured as jdk11 directory
blockquote>Because most of my projects use JDK1.8, only a few projects use jdk11, so I choose to use the first method
div>Read More:
- No matching distribution found for tensorflow
- No matching distribution found for exceptions when Python installs docx package
- Java: compilation failed: internal java compiler error and invalid source distribution resolution
- Error: [VueLoaderPlugin Error] No matching use for vue-loader is found. Make sure the rule matching
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- Python learning notes (5) — cross entropy error runtimeerror: 1D target tensor expected, multi target not supported
- Could not install Gradle distribution
- Wrong classification of Python — assertion cur_ Target is greater than or equal to 0 and cur_ Target is less than n_ classes failed
- LinkIssue: Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- Incomplete and “the Jupiter” distribution was not found
- Visual Studio 2010 compilation error fatal error lnk1123: failed during conversion to coff: solution to invalid or corrupt file
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- SAP RETAIL WA01 Creative Distribution List Error – Plant 0000000039 Confirmation date not maintained. –
- Python normality test: test whether the data obey the normal distribution
- Distribution setup SQL Server Agent error: “RegCreateKeyEx() returned error 5, ‘Access is denied.’” …
- INSTALL_FAILED_NO_MATCHING_ABIS solution
- No matching editors or conversion strategy found
- Solution: Spring no matching editors or conversion strategy found
- Java regular matching returns all matches