Four Stars

Job runs from debug mode only

Updated jar (aws-java-sdk) to a new version in a routine and changed code to fit the new version. Afer this when execute see error:

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)

 

Apparently the new jar uses an old dependency jar. How to fix this? How to determine the old jar?

What is strange -  no errors when execute in debug mode.

1 REPLY
Moderator

Re: Job runs from debug mode only

Hello,

Have you tried to right click on the routine and click "Edit Routine Libraries" to add the Jar? This must be done while the routine is closed.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.