cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.ui5.visualization-1.16.7.jar is missing when running espm project which was downloaded as per the turorial manual

Former Member
0 Kudos

I'm operating as per guidance <ESPM SAP HANA Cloud Installation Guide.pdf>, but I got some error when trying to run ESPM on SAP Hana Cloud(page 43), below here enclosing an snapshot from eclipse java compilization properties, and also the error I got from console, thanks so much for your help.

I have tried to get the missing jar, but failed, is there anyone has it and share it with me, its version is 1.16.7, thanks so much.

Accepted Solutions (1)

Accepted Solutions (1)

Flavio
Active Contributor
0 Kudos

Hi Michael,

I have had the same issue while playing with the SAP HANA Cloud end-to-end development scenario: using sap.cloud.ui5.version 1.16.7, the com.sap.ui5.visualization artifact is missing:

Having found out that this visualization artifact is deprecated, replaced by com.sap.ui5.viz (this latter, also listed in the pom.xml dependencies), I just commented it out, and worked.

Hope this could be of some help.

Flavio

Former Member
0 Kudos

Thanks Flavio:

Maybe you're right(as for now, I still face other issues from configuration, so will mark it Correct Answer once I confirmed right), thanks so much.

Error:


Archive for required library: 'E:/dev/.m2/repository/org/eclipse/persistence/eclipselink/2.5.0/eclipselink-2.5.0.jar' in project 'espm-cloud-jpa' cannot be read or is not a valid ZIP file

And I checked and sure the 'E:/dev/.m2/repository/org/eclipse/persistence/eclipselink/2.5.0/eclipselink-2.5.0.jar' is there. As not a java expert, what is the issue?

Thanks in advance.

Michael

Former Member
0 Kudos

I'm sorry, but there comes more issues , I'll google it.

Flavio
Active Contributor
0 Kudos

Hi Michael,

That's weird. I just repeated the steps in the SAP HANA Cloud End-to-End-Development Scenarios - ESPM Scenarios Installation Guide (up to page 43), in a fresh Eclipse environment, and the only issue was about the missing visualization library, easily solved by commenting out that dependency in the two affected pom.xml files. Here is my screen-shot, at the end:


I would suggest you to restart from scratch (check Maven integration). It should work without problems.

Thank you and bye,

Flavio

Former Member
0 Kudos

Thanks so much for your time Flavio, I fixed the issues eventually.

my issues are here:

(1)You're right, not sure for the visualization artifact is deprecated, replaced by com.sap.ui5.viz (this latter, also listed in the pom.xml dependencies), following your advice to comment it out, it works well.

(2)There were still some error regarding "E:\dev\.m2\repository\org\eclipse\persistence\eclipselink\2.5.0\eclipselink-2.5.0.jar" issue, deleted it and soon it's downloaded by Maven freely, and it's solved perfectly.

(3)As new to Git, I imported the wrong source into Eclipse(it should be cloud-espm-scenario-master, I did it with scenario-webshop-entension-step-6 mistakely), removed all and imported again, ok then.

But still, I have another issue, as following the guidance document, on page 49, I want to run the espm-cloud-web on server, there is no "Run on server" from "Run as " context menu, so I chose "Run configurations" and selected the "Sap hana cloud platform local runtime", below are two questions:

(1)I have started the server then, I couldn't run it from Run Configurations.

(2)If I stop the server and try again, it stops at below step:

here is the log from console:

java version "1.7.0_45"

Java(TM) SE Runtime Environment (build 1.7.0_45-b18)

Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

E:\dev\eclipse\workspace\Servers\SAP HANA Cloud Platform local runtime-config>"C:\Program Files\Java\jdk1.7.0_45\bin\java" -server  "-XX:+HeapDumpOnOutOfMemoryError" "-XX:+DisableExplicitGC" "-Xms512m" "-Xmx512m" "-XX:PermSize=256M" "-XX:MaxPermSize=256M" "-Dcom.sun.management.jmxremote.authenticate=false" "-Dcom.sun.management.jmxremote.ssl=false" "-Dosgi.requiredJavaVersion=1.6" "-Dosgi.install.area=." "-DuseNaming=osgi" "-Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false" "-Dcom.sap.core.process=ljs_node" "-Declipse.ignoreApp=true" "-Dosgi.noShutdown=true" "-Dosgi.framework.activeThreadType=normal" "-Dosgi.embedded.cleanupOnSave=true" "-Dosgi.usesLimit=30" "-Djava.awt.headless=true" "-Djava.rmi.server.hostname=127.0.0.1" "-Dcom.sun.management.jmxremote.port=1759"  -jar plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar  -console -dev "file:E:/dev/eclipse/workspace/Servers/SAP HANA Cloud Platform local runtime-config/configuration/dev.properties"

osgi>

any idea on that, thanks.

Michael

Former Member
0 Kudos

This issue was fixed by selecting Dynamic web Module(only select this, will show Run on Server) and Java, Javascript, SAPUI5 Application from Project Facets of project property.

Go to http://scn.sap.com/thread/3481176 for details, thanks a lot, Flavio.

Michael

Answers (1)

Answers (1)

Former Member
0 Kudos

The issue has been resolved now! Please get the updated version of the code from the git.

If you're still facing the same, goto your pom.xml and remove/uncomment the com.sap.ui5.visualization dependency.

Former Member
0 Kudos

Hi Sakthivel, sorry for late reply as leave on vacation for 2 weeks will check out and add commend, thanks~~~