hi tomee + cxf 2.7 can't work out of the box (or you have to update it yourself) since tomee has to be javaee 6 certified (web profile and wep profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it can't be included (sadly).
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/6/24 ced_benoit <[email protected]> > Hi, > > thank for your help! > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I have senn > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have in the > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can I find > it in cxf 2.7.4? > > Thank you for your help! > > Cedirc > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] < > [email protected]> > > > FYI this should work on trunk (providing cxf) > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]< > http://user/SendEmail.jtp?type=node&node=5729666&i=0>> > > a écrit : > > > > > > > > This looks like a class loader issue. Keep in mind, TomEE includes > > CXF > > > already. Thus, if you are adding CXF to your project, it may end up in > > > TomEE twice and then have conflicts. > > > > > > Dan > > > > > > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]< > http://user/SendEmail.jtp?type=node&node=5729666&i=1>> > > wrote: > > > > > > > Hi, > > > > > > > > I have simple webservice and when I start the server, by exemple in > > > eclipse, > > > > i have this error come: > > > > > > > > SEVERE: Error deploying CXF webservice for servlet > > > > web.serve.cxf.test.TestWS3 > > > > org.apache.cxf.service.factory.ServiceConstructionException > > > > at > > > > > > > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232) > > > > > > at > > > > > > > > > > org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109) > > > > > > at > > > > > > > > > > org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105) > > > > > > at > > > > > > > > > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662) > > > > > > at > > > > > > > > > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638) > > > > > > at > > > > > > > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468) > > > > > > at > > > > > > > > > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690) > > > > > > at > > > > > > > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536) > > > > > > at > > > > > > > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248) > > > > > > at > > > > > > > > > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205) > > > > > > at > > > > > > > > > > org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66) > > > > > > at > > > > > > > > > > org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43) > > > > > > at > > > > > > > > > > org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28) > > > > > > at > > > > > > > > > > org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54) > > > > at > > > > > > > > > > org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79) > > > > > > at > > > > > > > > > > org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372) > > > > > > at > > > > > > > > > > org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > > > > > at > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > > > at java.lang.reflect.Method.invoke(Method.java:601) > > > > at > > > > > > > > > > org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145) > > > > > > at > > > > > > > > > > org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69) > > > > > > at > > > > > > > > > > org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107) > > > > at > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486) > > > > > > at > > > > > > > > > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110) > > > > > > at > > > > > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > > > > > at > > > > > > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > > > > > at > > > > > > > > > > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) > > > > > > at > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168) > > > > at > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > > > > > > at > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > > > > > > at > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > > > at > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > > > > > at > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > > > > > at java.lang.Thread.run(Thread.java:722) > > > > Caused by: java.lang.ClassCastException: class > > > > org.apache.cxf.jaxb.JAXBDataBinding > > > > at java.lang.Class.asSubclass(Class.java:3046) > > > > at > > > > > > > > > > org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253) > > > > > > at > > > > > > > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220) > > > > > > ... 36 more > > > > > > > > I use TomEE 7.0.37 > > > > > > > > I don't know what is wrong? Is anybody has an idea? I checked my > > > webservice, > > > > i don't find what is wrong. > > > > > > > > thank you for your help > > > > > > > > Cedirc > > > > > > > > > > > > > > > > > > > > -- > > > > View this message in context: > > > > > > http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html > > > > Sent from the cxf-dev mailing list archive at Nabble.com. > > > > > > -- > > > Daniel Kulp > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729666&i=2> > - > > http://dankulp.com/blog > > > > > Talend Community Coder - http://coders.talend.com > > > > > > > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html > > To unsubscribe from [cxf] tomee Error deploying CXF webservice, click > > here< > http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw > > > > . > > NAML< > http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html > Sent from the cxf-dev mailing list archive at Nabble.com. >
