Showing results for 
Search instead for 
Did you mean: 

Accessing the helloworld servlet on HCP from a browser

Former Member
0 Kudos

I built the helloworld servlet as a Dynamic Web project and deployed it successfully to HCP. I can successfully execute it on my local sever and it also runs within a server in eclipse. But when I try to access from a browser with the URL   (I didn't change the URL mapping to '/' so I'm using the full name "HelloWorldServlet in the URL)

IE gives the error:

“ There’s a problem with this website’s security certificate

This might mean that someone’s trying to fool you or steal any info you send to the server. You should close this site immediately.”

From Chrome:

“Your connection is not private

Attackers might be trying to steal your information”

Should I be able to access this on HCP?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

There must not be a dot between helloworld and your account name, i.e.

Former Member
0 Kudos

Thank you for your response. Here's the current situation:

I've been following the steps at: and

I Installed:

Eclipse Version: Neon Release (4.6.0) Build id: 20160613-1800

            HCP tools from

When I try to run to the local “Java Web Server” it displays:

java version "1.8.0_101"

Java(TM) SE Runtime Environment (build 1.8.0_101-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

JAVA version is not correct. The supported versions are 1.6 and 1.7.

But it does bring up the output in an Eclipse local browser and I can access it successfully from Chrome   http://localhost:8080/helloworld/ .

When I try to deploy to SAP HCP I get:

Problem while publishing

Problem during deploymentJava version [8] is not compatible with the currently specified runtime; use runtime neo-java-web 2.x or 3.x

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

I saw the following advice answer to someone else having a problem:

“You should use Java Web Tomcat 7 runtime type in Eclipse with the Java Web Tomcat 7 SDK.

When I was trying that I had some other difficulty so I thought I would check with you to advise on my best path forward.

Thank you!

0 Kudos

HCP currently supports 4 different Java runtime types, resp. SDKs. You can find them all on the Tools download page: SAP Development Tools.

There is a corresponding runtime and local server in Eclipse which should be used with each SDK. It's not possible to mix them - that's the meaning of the answer you quoted.

Also, each runtime supports particular Java versions. The oldest one neo-java-web 1.x which you use supports Java 6 and 7 - hence the error messages you get. You can find the full matrix here: SAP HANA Cloud Platform

Having said that, my advice is to choose one of the more recent runtimes that support Java 8.

Hope that helps!

Former Member
0 Kudos

Got it! I appreciate the help.

Answers (0)