有这个JAR包,类下也有这个方法,为什么就访问不到?

ooooooooosc 发布于 2015/05/18 14:30
阅读 1K+
收藏 0
java.lang.NoSuchMethodError: chinapay.SecureLink.verifyAuthToken(Ljava/lang/String;Ljava/lang/String;)Z
at chinapay.util.DigestMD5.MD5Verify(DigestMD5.java:55)
at org.apache.jsp.chinapaydl_jsp._jspService(chinapaydl_jsp.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.aresoft.fund.websale.util.EncodingFilter.doFilter(EncodingFilter.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
加载中
0
一只小小小鸟
一只小小小鸟
参数写错了吧...
0
b
big_spring
开发时候看到有这个包,但是部署的时候不一样就包含在项目里面。检查一下运行的环境。
0
JustForFly
JustForFly
看log的意思,应该你是传的参数不匹配
0
-悟空-
-悟空-
应该是对应的参数不对,可能你的是String类型,你传过去一个long,或者反过来的。
0
ooooooooosc
ooooooooosc

个人总结:  一般这种情况要么是JAR包冲突,要么是路径没写对。

我这个是因为jar包冲突,但是我在Myeclipse里把项目下的冲突jar包去除了   本地Workspaces没有去掉,这样也会冲突?  后来本地也去掉之后就好了!

返回顶部
顶部