The scene is so wrong, first download pack items needed on a linux machine networking, machine on linux jdk to 1.8 springboot1.5. Then the project code and .m2 catalog copy on a windows machine, windows are not networked.
Execute commands when compiling the project:
mvn clean package -o -DskipTest
Specify maven using local package, an error
Cannot access central in offline mode ...
Check the maven repository path is correct, Idea can run code directly, settings.xml configured correctly.
Specific solutions:
mvn clean verify
This command line will run any checks to verify the package is valid and meet quality standards, consideration may be because the windows maven is not networked, the package has not been tested.
Then you can use the command-packed program of
mvn clean package -o -DskipTest