Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

JEE app deployment error on HCP

$
0
0

Hi everyone,

 

 

When I try to deploy a JEE Hello World application to HCP then I got error says:

"Java version [8] is not compatible with the currently specified runtime; use runtime neo-java-web 2.x"

 

1. I set my active JRE to sapjvm_8 (sapjvm-8.1.009-windows-x64), what I just downloaded.

2. The Java compiler is set to 1.8.

3. Eclipse version is Luna, I updated SAP plugins to latest.

4. I created a simple hello world servlet and deployed to "Java EE 6 Web Profile" local server based on neo-javaee6-wp-sdk-2.78.13 sdk. Works correctly.

5. Problem that when I deploy this application to HCP server than I got the error message mentioned above.

Under Preferences/Server/SAP HANA Cloud Platform/SDK I set it to "neo-javaee6-wp-sdk-2.78.13".

 

How can I deploy JEE Hello World to HCP?

 

The sample persistence-with-ejb solution can be deployed to HCP without problem, so I only got problems with new dynamic web projects with JEE target runtime.

 

 

I read similar thread but that was about a java web app.

https://scn.sap.com/thread/3857381


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>