我正在尝试使用eclipse IDE和Apache Tomcat(7)开发Web应用程序。当我在wso2 AS上部署.WAR文件并打开url时,每次使用相同版本的axis2来构建和生成代码时,我都会收到此错误。任何帮助,将不胜感激。谢谢。
java.lang.InstantiationError: org.apache.axis2.databinding.ADBDataSource
org.wso2.carbon.um.ws.api.stub.Authenticate.getOMElement(Authenticate.java:126)
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub.toEnvelope(RemoteUserStoreManagerServiceStub.java:9387)
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub.authenticate(RemoteUserStoreManagerServiceStub.java:4030)
org.wso2.sample.LoginServlet.authenticate(LoginServlet.java:77)
org.wso2.sample.LoginServlet.doPost(LoginServlet.java:38)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.wso2.sample.AuthenticationFilter.doFilter(AuthenticationFilter.java:42)