Problem:

When deploying the SAPUI5 project from NWDS into SAP NW7.31 server getting the below warnings:

1. Warning occurred on server 6660150 during deploy of sap.com/EAR_UI5 : Web Class Existence Test: com.sap.ASJ.webjlin.000006 filter class “com.sap.ui5.resource.CacheControlFilter” cannot be found in the application class path. Possible reasons: 1) package or class name not correct; 2) missing referenced component (application or library); 3) missing reference to component (application or library)., file: UI5Appfeel.war#WEB-INF/web.xml, severity: warning

Warning occurred on server 6660150 during deploy of sap.com/EAR_UI5 : Web Class Existence Test: com.sap.ASJ.webjlin.000006 servlet class “com.sap.ui5.resource.ResourceServlet” cannot be found in the application class path. Possible reasons: 1) package or class name not correct; 2) missing referenced component (application or library); 3) missing reference to component (application or library)., file: UI5Appfeel.war#WEB-INF/web.xml, severity: warning

Warning occurred on server 6660150 during deploy of sap.com/EAR_UI5 : Web Class Existence Test: com.sap.ASJ.webjlin.000006 servlet class “com.sap.ui5.proxy.SimpleProxyServlet” cannot be found in the application class path. Possible reasons:

1) package or class name not correct;

2) missing referenced component (application or library);

3) missing reference to component (application or library)., file: UI5Appfeel.war#WEB-INF/web.xml, severity: warning

CSN component of deployment item is not available

2. Warning exception has been returned while the [sap.com/EAR_UI5] was starting. Warnings:[

][

Warning occurred on server 6660150 during startApp of sap.com/EAR_UI5 : Cannot load filter [CacheControlFilter]. Error is: [java.lang.ClassNotFoundException: com.sap.ui5.resource.CacheControlFilter

————————- Loader Info ————————-

Refer this:

http://scn.sap.com/thread/3435661

Solution:

Adding ui5/five reference in the application-j2ee-engine.xml did the trick.

<?xml version=”1.0″ encoding=”UTF-8″?>

<application-j2ee-engine xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”application-j2ee-engine.xsd”>

<reference reference-type=”hard”>

<reference-target target-type=”application” provider-name=”sap.com”>ui~five</reference-target>

</reference>

</application-j2ee-engine>

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply