1. Problem description
maven Install error: package com.sun.xml.internal.bind.v2.model.core does not exist
Solution:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> <compilerArguments > <verbose /> <bootclasspath>${java.home}/lib/rt.jar</bootclasspath> </compilerArguments> </configuration> </plugin> Add the above paragraph, the rt.jar package can be recognized when compiling
Similar Posts:
- [Solved] MAVEN-COMPILER-PLUGIN Compile Error: FATAL ERROR: UNABLE TO FIND PACKAGE JAVA.LANG IN CLASSPATH OR BOOTCLASSPATH
- Maven warnning: ‘build.plugins.plugin.version’ is missing [How to Solve]
- [Solved] java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException (Upload Images Error)
- [Solved] Dynamic Web Module 3.0 requires Java 1.6 or newer
- [Solved] SpringBoot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-res
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- Solve the error in Maven project packaging: error injecting constructor
- Automatic version change of IntelliJ idea language level and Java compiler
- [Solved] Error:java: error: release version 5 not supported & Switch Unrecognized String
- [Solved] Spring Start Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project gulimall-coupon: There are test failures. Please refer to D:\m1\0613\mall-coup