nosuchmethoderror-mtomstreamwriter.getattachmentmarshaller()

h4cxqtbf  于 2021-07-14  发布在  Java
关注(0)|答案(0)|浏览(395)

我正在使用 wsdl 当我得到一个响应时,我得到一个如下的错误。

然而,我已经有了这样一个梦想 class .

下面是所有 dependency 我用

  1. <dependencies>
  2. <dependency>
  3. <groupId>com.sun.xml.ws</groupId>
  4. <artifactId>jaxws-tools</artifactId>
  5. <version>3.0.0</version>
  6. </dependency>
  7. <dependency>
  8. <groupId>com.sun.xml.ws</groupId>
  9. <artifactId>jaxws-rt</artifactId>
  10. <version>3.0.0</version>
  11. </dependency>
  12. <dependency>
  13. <groupId>javax.jws</groupId>
  14. <artifactId>javax.jws-api</artifactId>
  15. <version>1.1</version>
  16. </dependency>
  17. <dependency>
  18. <groupId>javax.xml.ws</groupId>
  19. <artifactId>jaxws-api</artifactId>
  20. <version>2.3.1</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.sun.xml.ws</groupId>
  24. <artifactId>rt</artifactId>
  25. <version>2.3.1</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.sun.xml.stream.buffer</groupId>
  29. <artifactId>streambuffer</artifactId>
  30. <version>1.4</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.jvnet.staxex</groupId>
  34. <artifactId>stax-ex</artifactId>
  35. <version>1.2</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>javax.xml.soap</groupId>
  39. <artifactId>javax.xml.soap-api</artifactId>
  40. <version>1.4.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.sun.xml.messaging.saaj</groupId>
  44. <artifactId>saaj-impl</artifactId>
  45. <version>1.5.1</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.glassfish.gmbal</groupId>
  49. <artifactId>gmbal-api-only</artifactId>
  50. <version>4.0.2</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.jvnet.staxex</groupId>
  54. <artifactId>stax-ex</artifactId>
  55. <version>2.0.0</version>
  56. </dependency>
  57. </dependencies>

我不明白为什么我会有这样的错误。提前谢谢你的回答。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题