Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
Feel free to let me know if it helps.
Best regards
Sabrina