2016-06-27 7 views
1

를 사용하여이 URI를 찾을 수 없습니다 그러나없음 태그 라이브러리는 난 그냥 JSP</p> <pre><code><%@ taglib prefix="esapi" uri="http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API"%> </code></pre> <p>에이 태그를 추가 한 ESAPI

[java] No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. 
    [java] <%@ taglib prefix="esapi" uri="http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API"%> 
+1

포스트 웹을 컴파일 할 때이 오류가있어 .xml – avgvstvs

+0

실제로 그것은 web.xml 파일이었습니다 avgvstvs –

+1

솔루션을 게시 할 수 있으면 언제든지 다른 사람들이 같은 문제를 겪을 수 있습니다! :-) – avgvstvs

답변

1
<jsp-config> 
     <taglib> 
      <taglib-uri>http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API</taglib-uri> 
      <taglib-location>/WEB-INF/tld/esapi.tld</taglib-location> 
     </taglib> 
    </jsp-config>