Intellij 2.4 still try to find the cacerts from previous uninstalled version

Answered

Hi,

Recently I have installed new intellij version 2.4 with JRE.

I'm trying to run the "gradle clean" command on intellij terminal, which gives me below error,

 

> Could not resolve javax.activation:activation:1.1.1.
> Could not get resource 'https://repo.maven.apache.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1.pom'.
> org.apache.http.ssl.SSLInitializationException: C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.5\jre64\lib\security\cacerts (The system cannot fin
d the path specified)

I can see it is trying to take a path of cacert for previously installed version 1.5, how do I change it to cacert of new version or point it to jre of  installed java JRE/JDK cacert instead of instance of intellij version.

Thanks in advance.

Regards,

Amruta

 

0
2 comments

Hi, have you tried invoking "Gradle refresh" from gradle tool window?

0

Hi Petr,

Thank you so much for your reply.

It resolved , it was my mistake of adding the cacert path in gradle.properties while I was trying to resolve some certificates issue.

I removed and now everything is fine.

0

Please sign in to leave a comment.