cancel
Showing results for 
Search instead for 
Did you mean: 

java mapping : NoClassDefFoundError: com.sun.net.ssl.internal.ssl.Provider

Former Member
0 Kudos

Hi all,

I'm trying to use an external Java API which is not a part of the Standard JDK in my java mapping.

While testing, I got the following error:

Runtime exception during processing target field mapping. The message is: Exception:[java.lang.NoClassDefFoundError: com.sun.net.ssl.internal.ssl.Provider]

Does anyone know why the above error occurs?

PN: We have enabled SSL communication in XI.

Regards,

Shanthi

Accepted Solutions (0)

Answers (5)

Answers (5)

prasannakrishna_mynam
Contributor
0 Kudos

Hello,

Try to execute the java mapping once disabling SSL communication in XI, If it execute properly then you need to import the jar for this class com.sun.net.ssl.internal.ssl.Provider. Since you have enabled the SSL option, this uses the above jar file and searches for the particular class.

Former Member
0 Kudos

Hi,

When I tested the class in ecilpse, it works and not in XI

Former Member
0 Kudos

Hi Ramesh,

I have deployed the jar files corresponding to that API in the relevant SWC as Archives (Import Archives)and also created a CLASSPATH to the folder that contains the physical files in the server.

Do you think there's something I still need to do?

Thanks.

Former Member
0 Kudos

Did you tested your archived jar and sure that all required classes are present there

Try to compile the class your created and make sure no error occurs

Rajesh

former_member181985
Active Contributor
0 Kudos

You need to import the external jar files along with your custom class file for the java mapping.

jyothi_anagani
Active Contributor
0 Kudos

Hi,

Refer this link..

Thanks.

Former Member