報錯信息:spring
Could not transfer artifact org.mybatis.spring.boot:mybatis-spring-boot-starter:pom:2.1.2 from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetmybatis
解決方式:maven
點擊File——>Settings——>Build,Execution,Deployment——>Build Tools——>Maven——>Runner
ide
找到VM Options,添加信息:spring-boot
-Dmaven.multiModuleProjectDirectory=$MAVEN_HOME
-Dmaven.wagon.http.ssl.insecure=true
-Dmaven.wagon.http.ssl.allowall=true
-Dmaven.wagon.http.ssl.ignore.validity.dates=trueui
最後,從新compile就好了spa