项目涉及到调用webservice,打包成exe之后,在jre环境运行出现了
   java.lang.IllegalStateException: Unable to create schema compiler
    Caused by:
     javax.xml.bind.JAXBException
     - with linked exception:
     [java.lang.ClassNotFoundException: com/sun/tools/internal/xjc/api/XJC]
    "java.lang.ClassNotFoundException: com/sun/tools/ "。。等错误
    之后再网上找到了http://stackoverflow.com/questions/13039670/apache-cxf-dynamic-client-creation这个解决方法,将jre替换成jdk,并指定路径之后可以正常运行调用,不知道什么什么原因,还劳烦各位遇到过相同问题或者懂行的前辈指教!!