code学习

io.netty.util.Version

23:22:30,517 DEBUG Extension:263 - Could not load optional extension org.apache.cxf.transport.http.netty.server.NettyHttpDestinationFactory
java.lang.reflect.InvocationTargetException
  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 org.apache.cxf.bus.extension.Extension.load(Extension.java:249)
  at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:213)
  at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:348)
  at org.apache.cxf.bus.spring.SpringBeanLocator.getBeansOfType(SpringBeanLocator.java:153)
  at org.apache.cxf.bus.extension.ExtensionManagerBus.getExtension(ExtensionManagerBus.java:220)
  at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:262)
  at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:135)
  at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:84)
  at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:63)
  at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:170)
  at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1640)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1581)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  at org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:151)
  at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)
  at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:77)
  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
  at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4451)
  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4768)
  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
  at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080)
  at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
  at org.apache.catalina.core.StandardService.start(StandardService.java:525)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoClassDefFoundError: io/netty/util/Version
  at org.apache.cxf.transport.http.netty.server.NettyHttpDestinationFactory.<init>(NettyHttpDestinationFactory.java:36)
  ... 60 more
Caused by: java.lang.ClassNotFoundException: io.netty.util.Version
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)      

继续阅读