Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

localruntime with SAPUI5 Core Libraries

$
0
0

I want to test my WebProject with SAPUI5 locally (on localhost).

 

 

my index.html has the following lines:

 

<script src="resources/sap-ui-core.js" id="sap-ui-bootstrap"    data-sap-ui-libs="sap.ui.commons,sap.ui.ux3,sap.ui.table,sap.ui.layout"    data-sap-ui-theme="sap_goldreflection"    data-sap-ui-xx-bindingSyntax="complex"></script>

...that means, I want to use the local SAPUI5 library.

 

So i added SAPUI5 Server Side Libraries and SAPUI5 Core Libraries to BuildPath

20-12-2014 15-47-54.png

and changed Web Deployment Assembly:

20-12-2014 15-50-09.png

 

 

I published my project to cloud and all works fine.

 

If I start my local Java EE 6 Web Profile Server, the server has some problems during startup.

 

#ERROR#org.apache.catalina.core.StandardContext##anonymous#fs-watcher####Error getConfigured|

 

#ERROR#org.apache.catalina.core.ContainerBase##anonymous#fs-watcher####ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

 

#ERROR#org.eclipse.virgo.web.enterprise.applistener.internal.OpenEjbApplicationListener##anonymous#fs-watcher####Failed to destroy enterprise container for application with context path ''org.apache.openejb.UndeployException: Error while undeploying application with module id and web context path ''.: Application with path D:\7_eclipse-workspace\Servers3\Java EE 6 Web Profile Server-config\webapps\ROOTcannot be found

 

#ERROR#org.eclipse.gemini.web.internal.StandardWebApplication##anonymous#fs-watcher####Failed to start web application at context path ''org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '' cannot be added to the host.

 

I deleted SAPUI5 Core Libraries in Web Deployment Assembly and the Server was up and running but of course javascript said:

"NetworkError: 404 Not Found - http://localhost:8080/resources/sap-ui-core.js"

 

Tested with:

neo-javaee6-wp-sdk-2.49.12.5

neo-javaee6-wp-sdk-2.43.16

 

Thanks for your help


Viewing all articles
Browse latest Browse all 3131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>