热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Java项目单元测试时出现Fault:CouldnotsendMessage,如何解决?

由于Eclipse一些问题,我失误把一个小maven项目删掉了,然后我从SVN上把以前的项目update下来,把自己备份的一些接口再粘贴到项目的目录下面,在对每一个接口进行单元测试时,出现

由于Eclipse一些问题,我失误把一个小maven项目删掉了,然后我从SVN上把以前的项目update下来,把自己备份的一些接口再粘贴到项目的目录下面,在对每一个接口进行单元测试时,出现



1
2
WARN  o.a.cxf.phase.PhaseInterceptorChain - Interceptor for {http://webservice.internetfinance.com/}ICreditInfoWebserviceService#{http://webservice.internetfinance.com/}queryServiceItemByCode has thrown exception, unwinding now

org.apache.cxf.interceptor.Fault: Could not send Message.

这种错误。maven都是配置好的,就是不能单元测试了,百度了一下解决方案,感觉还是不理解。这个maven项目是依赖Spring的,我只是刚刚接触,底层的一些还不太了解,希望各位大神给一个思路即可。下面是所有 的错误:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
2016-02-29 10:30:45.800 [main] WARN  o.a.cxf.phase.PhaseInterceptorChain - Interceptor for {http://webservice.internetfinance.com/}ICreditInfoWebserviceService#{http://webservice.internetfinance.com/}queryServiceItemByCode has thrown exception, unwinding now

org.apache.cxf.interceptor.Fault: Could not send Message.

    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) [cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423) [cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324) [cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277) [cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) [cxf-rt-frontend-simple-3.1.1.jar:3.1.1]

    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139) [cxf-rt-frontend-jaxws-3.1.1.jar:3.1.1]

    at com.sun.proxy.$Proxy60.queryServiceItemByCode(Unknown Source) [na:na]

    at com.szr.internetfinance.demo.webservice.service.CreditService.queryByInnerPass(CreditService.java:25) [classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.BaseActionBatch.queryByInnerPass(BaseActionBatch.java:50) [classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.EduInfoActionBatch.parseResult1(EduInfoActionBatch.java:148) [classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.EduInfoActionBatch.iteratorHandle(EduInfoActionBatch.java:109) [classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.BaseActionBatch.handle(BaseActionBatch.java:103) [classes/:na]

    at com.szr.credit.test.EduInfoActionTest.test(EduInfoActionTest.java:15) [classes/:na]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_71]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_71]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71]

    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]

    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit.jar:na]

    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit.jar:na]

    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit.jar:na]

    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit.jar:na]

    at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) [junit.jar:na]

    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit.jar:na]

    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit.jar:na]

    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit.jar:na]

    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit.jar:na]

    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit.jar:na]

    at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit.jar:na]

    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) [.cp/:na]

Caused by: java.net.ConnectException: ConnectException invoking http://localhost:8080/internetfinance/webservice/creditInfo?wsdl: Connection refused: connect

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_71]

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_71]

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_71]

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_71]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1359) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1343) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:652) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ~[cxf-core-3.1.1.jar:3.1.1]

    ... 43 common frames omitted

Caused by: java.net.ConnectException: Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:1.7.0_71]

    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[na:1.7.0_71]

    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ~[na:1.7.0_71]

    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ~[na:1.7.0_71]

    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ~[na:1.7.0_71]

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.7.0_71]

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.7.0_71]

    at java.net.Socket.connect(Socket.java:579) ~[na:1.7.0_71]

    at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.(HttpClient.java:211) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.New(HttpClient.java:308) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.New(HttpClient.java:326) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:975) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091) ~[na:1.7.0_71]

    at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:184) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1302) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1262) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:211) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1315) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    ... 46 common frames omitted

2016-02-29 10:30:45.806 [main] ERROR c.s.i.d.w.sample.BaseActionBatch - Could not send Message.

javax.xml.ws.WebServiceException: Could not send Message.

    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:150) ~[cxf-rt-frontend-jaxws-3.1.1.jar:3.1.1]

    at com.sun.proxy.$Proxy60.queryServiceItemByCode(Unknown Source) ~[na:na]

    at com.szr.internetfinance.demo.webservice.service.CreditService.queryByInnerPass(CreditService.java:25) ~[classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.BaseActionBatch.queryByInnerPass(BaseActionBatch.java:50) ~[classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.EduInfoActionBatch.parseResult1(EduInfoActionBatch.java:148) ~[classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.EduInfoActionBatch.iteratorHandle(EduInfoActionBatch.java:109) ~[classes/:na]

    at com.szr.internetfinance.demo.webservice.sample.BaseActionBatch.handle(BaseActionBatch.java:103) ~[classes/:na]

    at com.szr.credit.test.EduInfoActionTest.test(EduInfoActionTest.java:15) [classes/:na]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_71]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_71]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71]

    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]

    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit.jar:na]

    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit.jar:na]

    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit.jar:na]

    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit.jar:na]

    at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) [junit.jar:na]

    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit.jar:na]

    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit.jar:na]

    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit.jar:na]

    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit.jar:na]

    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit.jar:na]

    at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit.jar:na]

    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE]

    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) [.cp/:na]

    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) [.cp/:na]

Caused by: java.net.ConnectException: ConnectException invoking http://localhost:8080/internetfinance/webservice/creditInfo?wsdl: Connection refused: connect

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_71]

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_71]

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_71]

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_71]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1359) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1343) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:652) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) ~[cxf-rt-frontend-simple-3.1.1.jar:3.1.1]

    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139) ~[cxf-rt-frontend-jaxws-3.1.1.jar:3.1.1]

    ... 36 common frames omitted

Caused by: java.net.ConnectException: Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:1.7.0_71]

    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[na:1.7.0_71]

    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ~[na:1.7.0_71]

    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ~[na:1.7.0_71]

    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ~[na:1.7.0_71]

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[na:1.7.0_71]

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.7.0_71]

    at java.net.Socket.connect(Socket.java:579) ~[na:1.7.0_71]

    at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.(HttpClient.java:211) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.New(HttpClient.java:308) ~[na:1.7.0_71]

    at sun.net.www.http.HttpClient.New(HttpClient.java:326) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:975) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850) ~[na:1.7.0_71]

    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091) ~[na:1.7.0_71]

    at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:184) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1302) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1262) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:211) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69) ~[cxf-core-3.1.1.jar:3.1.1]

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1315) ~[cxf-rt-transports-http-3.1.1.jar:3.1.1]

    ... 46 common frames omitted



   



推荐阅读
  • 解决JAX-WS动态客户端工厂弃用问题并迁移到XFire
    在处理Java项目中的JAR包冲突时,我们遇到了JaxWsDynamicClientFactory被弃用的问题,并成功将其迁移到org.codehaus.xfire.client。本文详细介绍了这一过程及解决方案。 ... [详细]
  • 深入解析Java虚拟机(JVM)架构与原理
    本文旨在为读者提供对Java虚拟机(JVM)的全面理解,涵盖其主要组成部分、工作原理及其在不同平台上的实现。通过详细探讨JVM的结构和内部机制,帮助开发者更好地掌握Java编程的核心技术。 ... [详细]
  • 使用 Azure Service Principal 和 Microsoft Graph API 获取 AAD 用户列表
    本文介绍了一段通用代码示例,该代码不仅能够操作 Azure Active Directory (AAD),还可以通过 Azure Service Principal 的授权访问和管理 Azure 订阅资源。Azure 的架构可以分为两个层级:AAD 和 Subscription。 ... [详细]
  • 前言--页数多了以后需要指定到某一页(只做了功能,样式没有细调)html ... [详细]
  • Python自动化处理:从Word文档提取内容并生成带水印的PDF
    本文介绍如何利用Python实现从特定网站下载Word文档,去除水印并添加自定义水印,最终将文档转换为PDF格式。该方法适用于批量处理和自动化需求。 ... [详细]
  • 本文详细介绍如何使用Samba软件配置CIFS文件共享服务,涵盖安装、配置、权限管理及多用户挂载等关键步骤。通过具体示例和命令行操作,帮助读者快速搭建并优化Samba服务器。 ... [详细]
  • MySQL 数据库迁移指南:从本地到远程及磁盘间迁移
    本文详细介绍了如何在不同场景下进行 MySQL 数据库的迁移,包括从一个硬盘迁移到另一个硬盘、从一台计算机迁移到另一台计算机,以及解决迁移过程中可能遇到的问题。 ... [详细]
  • 本文介绍如何通过 JavaScript 实现一个基于鼠标坐标的 Tooltip 弹出层,详细解释了如何获取窗口和文档的尺寸及滚动位置,并优化了代码结构。 ... [详细]
  • 20100423:Fixes:更新批处理,以兼容WIN7。第一次系统地玩QT,于是诞生了此预备式:【QT版本4.6.0&#x ... [详细]
  • 本文介绍了一种在 MySQL 客户端执行 NOW() 函数时出现时间偏差的问题,并详细描述了如何通过配置文件调整时区设置来解决该问题。演示场景中,假设当前北京时间为2023年2月17日19:31:37,而查询结果显示的时间比实际时间晚8小时。 ... [详细]
  • 本文详细介绍了 Java 中的 org.apache.hadoop.registry.client.impl.zk.ZKPathDumper 类,提供了丰富的代码示例和使用指南。通过这些示例,读者可以更好地理解如何在实际项目中利用 ZKPathDumper 类进行注册表树的转储操作。 ... [详细]
  • ssm框架整合及工程分层1.先创建一个新的project1.1配置pom.xml ... [详细]
  • Spring Boot 中静态资源映射详解
    本文深入探讨了 Spring Boot 如何简化 Web 应用中的静态资源管理,包括默认的静态资源映射规则、WebJars 的使用以及静态首页的处理方法。通过本文,您将了解如何高效地管理和引用静态资源。 ... [详细]
  • 本文详细探讨了Java中的ClassLoader类加载器的工作原理,包括其如何将class文件加载至JVM中,以及JVM启动时的动态加载策略。文章还介绍了JVM内置的三种类加载器及其工作方式,并解释了类加载器的继承关系和双亲委托机制。 ... [详细]
  • Logback使用小结
    1一定要使用slf4j的jar包,不要使用apachecommons的jar。否则滚动生成文件不生效,不滚动的时候却生效~~importorg.slf ... [详细]
author-avatar
豆芽哥的马甲_206
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有