java.lang.NoSuchMethodError: org.apache.axis.description.Ele
asif_ck Jan 31, 2006 6:34 AMHello All,
I'm experiencing a wierd problem. I'm using JBoss 3.2.1. I've an application (myapp.ear) which uses Axis 1.2 beta jar.
I have to integrate Quick Address application (proweb.war) with my application. I copy the proweb.war in deploy folder alongwith myapp.ear.
Please note that proweb.war uses Axis 1.2 jar. After deployment, my application works fine. But when I run the test pages (provided by QAS company) of Quick Address, I get the following error message:
2006-01-31 10:04:04,685 WARN [org.jboss.jbossweb] WARNING: Exception for /proweb/QasController
java.lang.NoSuchMethodError: org.apache.axis.description.ElementDesc.setNillable(Z)V
at com.qas.proweb.soap.QASearch.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.qas.proweb.soap.QASoapBindingStub.class$(Unknown Source)
at com.qas.proweb.soap.QASoapBindingStub._initOperationDesc1(Unknown Source)
at com.qas.proweb.soap.QASoapBindingStub.(Unknown Source)
at com.qas.proweb.soap.ProWebLocator.getQAPortType(Unknown Source)
at com.qas.proweb.QuickAddress.(Unknown Source)
at com.qas.proweb.servlet.FlatPromptEntry.execute(Unknown Source)
at com.qas.proweb.servlet.Controller.processRequest(Unknown Source)
at com.qas.proweb.servlet.Controller.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.jboss.jetty.Jetty.service(Jetty.java:460)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
Interesting part is that if I remove myapp.ear from deploy folder, then Quick Address test pages work absolutely fine.
I've tried one more thing. I copied the Axis 1.2 jar from proweb.war to all the places in my application to make the Axis version same all over the application. I deployed the new myapp.ear alongwith proweb.war. This time error message is different.
java.lang.NoSuchMethodError: com.qas.proweb.PicklistItem.(Lcom/qas/proweb/soap/PicklistEntryType;)V
at com.qas.proweb.Picklist.(Unknown Source)
at com.qas.proweb.SearchResult.(Unknown Source)
at com.qas.proweb.QuickAddress.search(Unknown Source)
at com.qas.proweb.QuickAddress.search(Unknown Source)
at com.qas.proweb.QuickAddress.search(Unknown Source)
at com.qas.proweb.servlet.FlatSearch.execute(Unknown Source)
at com.qas.proweb.servlet.Controller.processRequest(Unknown Source)
at com.qas.proweb.servlet.Controller.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.jboss.jetty.Jetty.service(Jetty.java:460)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
I've no idea what to do next. If test pages work fine without my application, what goes wrong when I deploy my application along with proweb.war. Any help will be greatly appreciated.
Best regards,
-Asif