Project scenario:
Maven install: fatal error matching: error: invalid target distribution: 11.0.8 – & gt[ Help 1]
Solution:
Modify settings.xml in Maven directory
<profile>
<id>jdk-11</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>11</jdk>
</activation>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.compilerVersion>11</maven.compiler.compilerVersion>
</properties>
</profile>
https://www.cnblogs.com/zhao1949/p/6180155.html
Read More:
- Fatal error matching: invalid target distribution: 11
- No matching distribution found for exceptions when Python installs docx package
- No matching distribution found for tensorflow
- mvn install Error: Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- The import Maven project appears http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Solutions
- Could not install Gradle distribution
- Java: compilation failed: internal java compiler error and invalid source distribution resolution
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- Error: [VueLoaderPlugin Error] No matching use for vue-loader is found. Make sure the rule matching
- Maven Compilation error jdwp on getting class status, jvmtierror = JVMTI_ERROR_WRONG_PHASE(112)
- INSTALL_FAILED_NO_MATCHING_ABIS solution
- Maven invalid source release 11
- Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-6.7.1-b
- Genymotion runs the arm program, install failed no matching ABIS failed to extract native libraries res = – 113
- Android installation failure: install_ FAILED_ NO_ MATCHING_ ABIS: Failed to extract native libraries, res=-113.
- Python learning notes (5) — cross entropy error runtimeerror: 1D target tensor expected, multi target not supported
- 解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- [Solved] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
- Failed to execute goal in Maven build org.apache.tomcat .maven: