пятница, 12 августа 2016 г.

Check if your TLD is valid against its scheme

Problem:
You have an error:
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.s.com/jsf/html]. Possible reason - validation failed. Check if your TLD is valid against its scheme. 


Solution:
Put in your ear (Enterprise Application) 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>

End everything works!

Комментариев нет:

Отправить комментарий