IDEA解决 Maven:unable to find valid certification path to requested target
一、报错信息:
Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to alimaven (https://maven.aliyun.com/repository/central): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
二、解决
添加参数:
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
解决Intellij IDEA运行报Command line is too long的问题
报错信息大概如下:
Error running 'xxx':
Command line is too long. Shorten command line for xxx or also for Application default configuration.
解决方案(1):
找到项目下的.idea/workspace.xml,在标签<component name="PropertiesComponent">
里添加一行属性:<property name="dynamic.classpath" value="true" />
1 2 3 4 |
|