on 02-13-2013 9:12 AM
Hello,
im trying to develop an JSF-Application with NWDS. I followed this tutorials http://scn.sap.com/docs/DOC-16271 and http://scn.sap.com/docs/DOC-16272
it works well, but if I try to use the LSF-Components it crashed. Im added
<%@ taglib prefix="sap-f" uri="http://java.sap.com/jsf/core"%>
<%@ taglib prefix="sap-h" uri="http://java.sap.com/jsf/html"%>
and now I get an Expection when starting the Application
Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Error in parsing the taglib tag in the JSP page. Cannot resolve URI: [http://java.sap.com/jsf/core]. Possible reason - validation failed. Check if your TLD is valid against its scheme.
Any Hints what I doing wrong und how to it working?
Regards Kay
I've found solution here Using the SAP Component Library for JSF - SAP NetWeaver Composition Environment Library - SAP Librar....
Put in your ear development component in file ""META-INF/application-j2ee-engine.xml"" that code:
<application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
<reference reference-type="weak">
<reference-target target-type="library" provider-name="sap.com">
tc~ui~faces
</reference-target>
</reference>
</application-j2ee-engine>
And everything works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kay,
I've followed the exact path as yourself and ended up with the same deployment exception.
Were you able to fix this issue?
Regards,
Gökhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kay,
I'm using <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%> instead of the SAP URI and interestingly it works! I've tested on NW AS Java 7.3 / 7.31 and both seems fine.
Kind Regards,
Gökhan
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.