5 Replies Latest reply on Sep 5, 2006 4:23 PM by Andy W. Clements

    JBoss and HttpClient

    Bill Pfeiffer Newbie

      I'm trying to use the latest Apache Commons HttpClient in my webapp, but it appears as if JBoss is ignoring the version of this jar in my WEB-INF/lib directory and instead using the class in its (OLD) version of this jar.

      Can anybody explain and possibly offer workaround (other than just using the old version of the lib?

      Thanks!

      PS. I'm including a snip of the stack trace I get:

      2003-07-18 13:37:26,611 ERROR [org.jboss.web.localhost.Engine] ----- Root Cause -----
      java.lang.NoSuchMethodError: org.apache.commons.httpclient.methods.PostMethod.setRequestBody(Ljava/lang/String;)V
      at org.arbfile.web.docket.details.actions.HearingNoticeUtil.getUPSPTrackInfo(HearingNoticeUtil.java:138)