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