I am getting the mentioned error in eclipse while importing my project. I already added jsse jar in java build path.
The error code is var = SSLContext.getDefault().getSocketFactory();
I didn't find resolution on google. Thanks in Advance
I am getting the mentioned error in eclipse while importing my project. I already added jsse jar in java build path.
The error code is var = SSLContext.getDefault().getSocketFactory();
I didn't find resolution on google. Thanks in Advance
I already added jsse jar in java build path.
The JSSE has been part of the main JRE for a while (Java 1.4 as far as I remember). Whatever version you've added to the build path is certainly an old version that conflicts with the default version: don't add that extra library, use what's already in the JSSR (no need to add security providers explicitly in general, if you're following old instructions).
If you're using Java 6
, the version which adds getDefault()
, then you must be accessing a different class named SSLContext
- try javax.net.ssl.SSLContext.getDefault()
.