ibmjstart / bluemix-java-postgresql-uploader

Bluemix sample app written in Java that uses a PostgreSQL database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable execute the application

phanikumar1210 opened this issue · comments

I am getting com.ibm.json.java.JSON class unavailable error while executing the application. Could you please let me know how to resolve this issue.

Can I get more detail about what you did to cause this? Had you just attempted to use it for the first time? Any customization? What environment are you running it in? Thanks!

I haven't gone with any changes to the application, I am just trying to deploy it to Pivotal Cloud Foundry and not to Bluemix Cloud Foundry. What I am expect that there is a dependency missing in pom.xml. What exact configurations do we need in pom.xml to download jar file com.ibm.json.java.JSON

This app is specifically for the Bluemix Cloud. Pivotal Cloud Foundry uses a different Java build pack than Bluemix, which is likely the origin of the problem. We think that using the Bluemix buildpack may fix your problem. Try something like this:

cf push APP_NAME -b https://github.com/cloudfoundry/ibm-websphere-liberty-buildpack