用jndi连接weblogic数据源时,抛出以下异常
weblogic.rmi.extensions.RemoteRuntimeException:UnexpectedExceptionatweblogic.jdbc.com...
weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exceptionat weblogic.jdbc.common.internal.RmiDataSource_920_WLStub.getConnection(Unknown Source)at users.UsersTest.main(UsersTest.java:38)Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is: weblogic.utils.NestedException: java.lang.NoClassDefFoundError: com/bea/xml/XmlExceptionat weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:195)at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)... 2 moreCaused by: weblogic.utils.NestedException: java.lang.NoClassDefFoundError: com/bea/xml/XmlExceptionat weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:919)at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:1009)at weblogic.rjvm.MsgAbbrevJVMConnection.gotExceptionReceiving(MsgAbbrevJVMConnection.java:443)at weblogic.rjvm.t3.MuxableSocketT3.hasException(MuxableSocketT3.java:373)at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:734)at weblogic.socket.SocketMuxer.deliverHasException(SocketMuxer.java:687)at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:307)at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)Caused by: java.lang.NoClassDefFoundError: com/bea/xml/XmlExceptionat weblogic.diagnostics.instrumentation.InstrumentationLibrary.loadInstrumentationEngineConfiguration(InstrumentationLibrary.java:119)at weblogic.diagnostics.instrumentation.InstrumentationLibrary.getInstrumentationLibrary(InstrumentationLibrary.java:96)at weblogic.diagnostics.instrumentation.InstrumentationManager.getAvailableMonitors(InstrumentationManager.java:248)at weblogic.diagnostics.instrumentation.InstrumentationManager.
展开
2个回答
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
jar冲突了,应该是xml解析的jar包,找找看看。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询