title: deploying in jetty giving Java.lang.NoSuchFieldError: WIRE_BUS_NAME
body: <p>I am getting bellow error while deploying a service in jetty. I am not sure if it is happening because of any cxf dependency miss or any spring dependency mismatch. Earlier I resolved this problem by upgrading hibernate3 to hibernate 5.0.1.RELEASE. But this time there is no hibernate in my project nor it is getting injected from any parent dependency. Please help me with this!</p>
  
  <pre><code> Unable to reach node goal: started
  java.lang.NoSuchFieldError: WIRE_BUS_NAME
          at org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor.postProcessBeanFactory(BusWiringBeanFactoryPostProcessor.java:111)
          at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:282)
          at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:177)
          at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:693)
          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)
          at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)
          at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
          at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
          at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
          at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
          at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
          at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
          at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1514)
          at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1476)
          at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
          at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
          at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
          at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
          at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
          at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:502)
          at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:150)
          at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
          at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:447)
          at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
          at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
          at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
          at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
          at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
          at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
          at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:564)
          at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:239)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
          at org.eclipse.jetty.server.Server.start(Server.java:449)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
          at org.eclipse.jetty.server.Server.doStart(Server.java:416)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
          at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1584)
          at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1508)
          at java.security.AccessController.doPrivileged(Native Method)
          at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1507)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.eclipse.jetty.start.Main.invokeMain(Main.java:221)
          at org.eclipse.jetty.start.Main.start(Main.java:506)
          at org.eclipse.jetty.start.Main.main(Main.java:78)
  </code></pre>
  
  <p>Below are some versions I am using in my project :</p>
  
  <pre><code>&lt;cxf.version&gt;3.2.1&lt;/cxf.version&gt;
  &lt;java.version&gt;1.8&lt;/java.version&gt;
  &lt;jaxb.version&gt;2.2.5&lt;/jaxb.version&gt;
  &lt;log4j.version&gt;1.2.17&lt;/log4j.version&gt;
  &lt;maven.resource.plugin.version&gt;3.0.2&lt;/maven.resource.plugin.version&gt;
  &lt;maven.compiler.plugin.version&gt;3.7.0&lt;/maven.compiler.plugin.version&gt;
  &lt;maven-release-plugin.version&gt;2.5.3&lt;/maven-release-plugin.version&gt;
                                                                                &lt;springframework.version&gt;5.0.0.RELEASE&lt;/springframework.version&gt;
  &lt;spring-ws.version&gt;3.0.0.RELEASE&lt;/spring-ws.version&gt;
  &lt;sl4j.version&gt;1.6.6&lt;/sl4j.version&gt;
  &lt;servlet-api.version&gt;2.4&lt;/servlet-api.version&gt;
  &lt;sourceforge.version&gt;1.2.5&lt;/sourceforge.version&gt;
  &lt;wsdl4j.version&gt;1.6.3&lt;/wsdl4j.version&gt;
  </code></pre>
  
  <p>I have below cxf plugin in my project :</p>
  
  <pre><code>              &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
                      &lt;artifactId&gt;cxf-codegen-plugin&lt;/artifactId&gt;
                      &lt;version&gt;${cxf.version}&lt;/version&gt;
                      &lt;dependencies&gt;
  
                          &lt;dependency&gt;
                              &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
                              &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
                              &lt;version&gt;${jaxb.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;com.sun.xml.bind&lt;/groupId&gt;
                              &lt;artifactId&gt;jaxb-impl&lt;/artifactId&gt;
                              &lt;version&gt;${jaxb.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                             &lt;groupId&gt;com.sun.xml.bind&lt;/groupId&gt;
                             &lt;artifactId&gt;jaxb-xjc&lt;/artifactId&gt;
                             &lt;version&gt;${jaxb.version}&lt;/version&gt;
                          &lt;/dependency&gt;   
  
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
                              &lt;version&gt;${springframework.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                              &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
                              &lt;version&gt;${springframework.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
                              &lt;version&gt;${springframework.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
                              &lt;version&gt;${springframework.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                      &lt;/dependencies&gt;
                  &lt;/plugin&gt;
  </code></pre>