- When :- Creating db connection
- Error got :- Mon Jan 01 16:39:51 IST 2018 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. - Solution used :- Connection myConnection = DriverManager.getConnection(dbUrl+ "?useSSL=false", userName, password); used instead of Connection myConnection = DriverManager.getConnection(dbUrl, userName, password);
- Help got from :- https://stackoverflow.com/questions/34189756/warning-about-ssl-connection-when-connecting-to-mysql-database
- When :- Error while loading class org.springframework.http.server.reactive.ServletServerHttpRequest$RequestAsyncListener Caused by: java.lang.NoClassDefFoundError:org/springframework/http/server/reactive/ServletServerHttpRequest$RequestBodyPublisher\
- Solution used :- Added following dependency
- <dependency>
<groupId>org.reactivestreams</groupId> <artifactId>reactive-streams</artifactId> <version>1.0.1</version> </dependency>
- When :- Trying to run a .jar file
- Problem : - Unable to run jar file
- Solution used :- jarfix - software to run .jar file
No comments:
Post a Comment