简体   繁体   English

Docusign java集成有错误“http://java.sun.com/jsp/jstl/core无法解析”

[英]Docusign java integration having error “ http://java.sun.com/jsp/jstl/core cannot be resolved”

I'm integrating docuSign with java using the url https://github.com/docusign/qs-java . 我正在使用url https://github.com/docusign/qs-java将docuSign与java集成。 And I'm using java 1.8. 我正在使用java 1.8。 I have got the error as follows. 我有如下错误。

Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 6.387 sec <<< FAILURE! - in com.docusign.HelloControllerTest
testHello(com.docusign.HelloControllerTest)  Time elapsed: 1.855 sec  <<< FAILURE!
java.lang.AssertionError: Response body doesn't match expectation.
Expected: is "Hello World!"
  Actual: {"timestamp":1556517506260,"status":500,"error":"Internal Server Error","exception":"org.apache.jasper.JasperException","message":"The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application","path":"/"}

pom.xml 的pom.xml

<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>jstl</artifactId>
</dependency>
<!-- To compile JSP files -->
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-jasper</artifactId>
    <scope>provided</scope>
</dependency>

index.jsp 的index.jsp

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="../partials/head.jsp"/>

I have tried with the dependency as follows. 我尝试了依赖如下。 But don't solve the problem. 但是不解决问题。

<dependency>
    <groupId>jstl</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>

Anyone please help me with this to sort out. 有人请帮我解决这个问题。 Any help would be appreciable 任何帮助都会很明显

the java code has the tags coming from that url as you can see in something like java代码有来自该URL的标签,你可以看到类似的东西

%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

You can remove these, but they should work. 你可以删除它们,但它们应该可以工作。 Not sure what Java environment you are using. 不确定您使用的是什么Java环境。

Seems like you can get your answer here - Eclipse -The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application 看起来你可以在这里得到你的答案 - Eclipse - 绝对的uri:http://java.sun.com/jsp/jstl/core无法在web.xml或使用此应用程序部署的jar文件中解析

I was having the same issue. 我遇到了同样的问题。 Change <jsp:include page="../partials/head.jsp"/> to <%@ include file ="../partials/head.jsp" %> ' <jsp:include page="../partials/head.jsp"/>更改为<%@ include file ="../partials/head.jsp" %> '

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 绝对URI:[http://java.sun.com/jsp/jstl/core]无法解决错误 - The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved error 绝对URI:无法解析http://java.sun.com/jsp/jstl/core - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved Jetty 9.0 绝对uri:http://java.sun.com/jsp/jstl/core 无法解析 - Jetty 9.0 The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved Apache Tomcat 10.0.0-M1 使用 JSP Absolute uri http://java.sun.com/jsp/jstl/core 无法解析 - Apache Tomcat 10.0.0-M1 using JSP Absolute uri http://java.sun.com/jsp/jstl/core cannot be resolved JSTL错误:绝对uri:http://java.sun.com/jsp/jstl/core不能在web.xml或与此应用程序一起部署的jar文件中解析 - JSTL error: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application 绝对的uri:http://java.sun.com/jsp/jstl/core无法在web.xml或使用此应用程序部署的jar文件中解析 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this app 错误HTTP状态500-绝对URI:无法在web.xml或jar文件中解析http://java.sun.com/jsp/jstl/core - Error HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files 绝对uri:http://java.sun.com/jsp/jstl/core不能在web.xml或tomcat中与此应用程序错误一起部署的jar文件中解决 - Absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application error in tomcat 在Eclipse WTP中从Tomcat 7迁移到8:绝对uri:http://java.sun.com/jstl/core无法解析 - Migrating from Tomcat 7 to 8 in Eclipse WTP: The absolute uri: http://java.sun.com/jstl/core cannot be resolved “绝对 uri:http://java.sun.com/jstl/core 无法解析” - “The absolute uri: http://java.sun.com/jstl/core cannot be resolved”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM