Deploy Java programs on SAP Cloud Platform

** Introduction **

This is the second trial of SAP Cloud Platform (SAP CP).

This time, referring to the following article, I went from creating a Java application (Helloworld program) to deploying a Java application to SAP CP.

Let's touch! SAP PaaS-Part 2: Steps to deploy Java application (Hello World) on SAP HANA Cloud Platform

This article is information as of July 2015, so I will mainly describe the differences from the article (as of January 2018).

** ~~ * Step 4. An error occurred on SAP HANA Cloud Platform. Under investigation ~~ **

environment

procedure

** 1. Creating a Dynamic Web Project @Eclipse **

** ★ There is a difference **

The menu path has changed a little. Open Eclipse and windows tab → Perspective → Open Perspective → Other スクリーンショット (393).png

** 2. Creating Hello World Servlet @ Eclipse **

** ★ There is a difference **

The double quotes from which the code was copied were incorrect (Is it a setting?) Wrong: “Hello World!” Correct: "Hello World!"

** 3. Execution in local environment @ on local PC **

** ★ No difference **

スクリーンショット (405).png

** 4. Execution on SAP HANA Cloud Platform @SAP HANA Cloud Platform **

** ★ There is a difference (with error → resolved) **

As a result of execution, an error occurs. スクリーンショット (410)_LI.jpg

The deployment to SAP CP seems to be complete, but the application URL mentioned did not exist. スクリーンショット (414)_LI.jpg

スクリーンショット (415)_LI.jpg

2018/1/10 postscript When I changed the JRE version from 8 to 7 in the Eclipse settings, the error disappeared. スクリーンショット (425)_LI.jpg

** Summary **

~~ We will continue to investigate the cause of the error, but it is over once ~~ I would like to continue the trial of SAP CP.

Recommended Posts

Deploy Java programs on SAP Cloud Platform
Setting up SAP Cloud Platform Tools for Java
Build Java 8 development environment on AWS Cloud9
Deploy a Java web app on Heroku
Try using Firebase Cloud Functions on Android (Java)
Try to access the on-premise system from SAP Cloud Platform --Java App Edition
Install Java on Mac
Run PostgreSQL on Java
Deploy RAILS on EC2
How to deploy a simple Java Servlet app on Heroku
How to deploy a kotlin (java) app on AWS fargate
How to deploy Java application to Alibaba Cloud EDAS in Eclipse