Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ghofran357
Contributor
Contributor

API Problem

hello,

the runing of m project doesn't working it generates this problem

Tue Feb 07 09:48:52 GMT+01:00 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

at produit.produit1_0_1.produit1.tRESTClient_1Process(produit1.java:1328)

at produit.produit1_0_1.produit1.runJobInTOS(produit1.java:2168)

at produit.produit1_0_1.produit1.main(produit1.java:2005)

Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

... 3 more

Labels (1)
  • Other

1 Reply
Anonymous
Not applicable

Hello,

As the warning suggests, add useSSL parameter to your DB connection url.

If you don't want to use SSL , set the additionnal JDBC parameter field to "useSSL=false",

If you want to use SSL ,set the additionnal JDBC parameter field to "useSSL=true", and you can use for eg a tSetKeystore component before the connection to import the certificate.

https://community.talend.com/s/article/Three-ways-to-set-a-truststore-for-an-SSL-TLS-connection-in-a...

Feel free to let me know if it helps.

Best regards

Sabrina