今天在开发webservice 的时候遇到了一些问题,在这里记录下来。怕以后会忘记,哈哈。也希望可以帮助到遇到此问题的同学。
说说啥情况吧。这个项目是我入职这个公司之前就已经搭建好了的框架,功能没开发多少,jar包到是有一堆。我先把异常贴出来吧。
Exception in thread "main" com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.aebell.webservice.jaxws.ReceiveMessage is n ot found. Have you run APT to generate them?
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:287)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:371)