微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

WebService CXF 问题找不到类 不晓得到底是不是包的问题,是哪个包

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager at org.apache.cxf.catalog.oasisCatalogManager.<init>(oasisCatalogManager.java:57) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.class.newInstance0(Class.java:355) at java.lang.class.newInstance(Class.java:308) at org.apache.cxf.bus.extension.Extension.load(Extension.java:86) at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:153) at org.apache.cxf.bus.extension.ExtensionManagerImpl.processExtension(ExtensionManagerImpl.java:129) at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadFragment(ExtensionManagerImpl.java:122) at org.apache.cxf.bus.extension.ExtensionManagerImpl.load(ExtensionManagerImpl.java:114) at org.apache.cxf.bus.extension.ExtensionManagerImpl.<init>(ExtensionManagerImpl.java:83) at org.apache.cxf.bus.extension.ExtensionManagerImpl.<init>(ExtensionManagerImpl.java:57) at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:91) at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:41) at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:37) at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:33) at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69) at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106) at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97) at org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpointFactory.java:73) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:228) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99) at org.apache.cxf.frontend.Clientfactorybean.create(Clientfactorybean.java:52) at org.apache.cxf.frontend.ClientProxyfactorybean.create(ClientProxyfactorybean.java:102) at org.apache.cxf.jaxws.JaxWsProxyfactorybean.create(JaxWsProxyfactorybean.java:115) at com.client.Client.main(Client.java:18)Caused by: java.lang.classNotFoundException: org.apache.xml.resolver.CatalogManager at java.net.urlclassloader$1.run(urlclassloader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.urlclassloader.findClass(urlclassloader.java:188) at java.lang.classLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.classLoader.loadClass(ClassLoader.java:252) at java.lang.classLoader.loadClassInternal(ClassLoader.java:320) ... 28 more

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐