Solution: If you are using Java 11.0.0.1 or Java 11.0.0.2, The issue might be related to this bug To resolve, use java 11.0.0.4 or above. In your eclipse, you can change the Installed JREs by following the below steps Go to Windows → Preferences → Java → Installed JREs → Add (Add new JDK 11.0.0.4 or above) → Select the added JDK by checking it → Apply and Close. Now your tomcat server should pick this newly added JDK while starting. The application should be able to successfully call the api’s and fetch information. |