Hi All,
I am trying to follow a sample tutorial at link SAP HANA Cloud Platform in order to access an ABAP backend via SAP cloud connector. I particularly want to do this in order to check if the SAP Cloud Connector that I installed on my laptop is working. My Mac has a Java version as below
java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
As per the error messages and SCN suggestions, I needed to use SAP HANA Cloud Platform SDK for Java Web Tomcat 7 (neo-java-web-sdk-2.50.9.zip) located at SAP Development Tools since versions 2.x and 3.x only are compatibale with Java 8. I installed it, pointed my deployment to this SDK and deployed to HCP.
However, when I run the application, I get the error
Exception in thread "main" java.lang.RuntimeException: Unable to get full version
at com.sap.conn.jco.About.main(About.java:35)
Caused by: java.lang.ClassNotFoundException: com.sap.conn.jco.rt.About
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sap.conn.jco.About.main(About.java:28)
When I debug further, I see that the neo-java-web-sdk-2.50.9.zip does not have any files under /repository. Is that expected? In previous versions there was a jar called neo-java-web-sdk-1.103.15.2 which contained com.sap.conn.jco.cloud.rt.sdk_3.1.1.17 under the plugins folder. I no longer see this in the 2.50.9 version.
Has something changed? Is there some new way to reference the JCO jar?
Regards
Suneet