java.lang.NoSuchMethodError

org.apache.cxf.common.util.ReflectionUtil.getDeclaredConstructors(Ljava/lang/Class;)[Ljava/lang/reflect/Constructor;

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.NoSuchMethodError: org.apache.cxf.common.util.ReflectionUtil.getDeclaredConstructors(Ljava/lang/Class;)[Ljava/lang/reflect/Constructor; at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:325) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:236) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:226) at org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(JAXBContextInitializer.java:406) at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:370) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:236) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:226) at org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(JAXBContextInitializer.java:406) at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:370) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:236) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:226) at org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(JAXBContextInitializer.java:406) at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:370) at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:236) at org.apache.cxf.jaxb.JAXBContextInitializer.begin(JAXBContextInitializer.java:143) at org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceModelVisitor.java:109) at org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.java:74) at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:315) at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86) at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:423) at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:525) at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102) at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91) at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157) at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142) at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:493) at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:359) at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:350) at javax.xml.ws.Service.getPort(Service.java:119) at com.lnf.ts_archivage.ArchivageService.getArchivageSoap12(ArchivageService.java:78) at com.lnf.ts.workflow.TestArchiver.setUpBeforeClass(TestArchiver.java:25) 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:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) 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:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.