on 01-31-2016 9:32 PM
I have windows 10, eclipse mars version. java 8, and use neo-java-web-sdk-1.95.34 version. when I start deployment
I get message
Problem during deploymentJava version [8] is not compatible with the currently specified runtime; use runtime neo-java-web 2.x
Java version [8] is not compatible with the currently specified runtime; use runtime neo-java-web 2.x
If I try to configure this neo-java-web-sdk- 2.42.18 under Preferences Server Runtime Environment I get an error message ... not possible to create Java Web runtime using Java Web Tomcat 7 SDK.
Please advice.
Thanks,
Peter
You should use Java Web Tomcat 7 runtime type in Eclipse with the Java Web Tomcat 7 SDK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick,
I faced the same issue during deploy. Please check Windows->Preferences->Server->Runtime Environments tha Java Web Tomcat 7 is present and path points to the extracted sdk.
like C:\SAP\HCP\neo-java-web-sdk-2.45.16.2
Then please check Properties for your HelloWord if the target runtime matches
Then, during deploy, (Run On Server), chose explicit the Java Web Tomcat 7 Runtime
After that, it was fine to deploy.
Of nothing of that works, try to delete the project and recreate it with given target runtime again.
Best regards,
Matthias
Hello Vladimir-
This is the correct answer for Peter, who is just trying to get his Hello World application into HCP.
For those having trouble deploying Java Web and Java EE applications to HANA Cloud Platform: the issue is with your Java Runtime Environment, not with the Application Runtime Container (ARC) you chose. Tomcat is the only HCP ARC currently supporting Java 1.8, Java Web and Java EE require that you are using Java 1.7
Ensure all your build and runtime/deployment options in Eclipse are set to use Java 1.7. If you've ensure all the settings are correct and still get these errors, it may help to export the WAR file and deploy to Hana Cloud Platform using the neo tool from the client connector, or the upload WAR option from the HCP cockpit (application->update->upload).
Thank you
JS
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.