org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'iconeWS': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException

Stack Overflow | Vivek Kumar | 5 months ago
  1. 0

    Creating web service in cxf throwing "org.springframework.beans.factory.BeanCreationException"

    Stack Overflow | 5 months ago | Vivek Kumar
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'iconeWS': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException
  2. 0

    CXF 2.6.1 Logging in jboss - exception

    Stack Overflow | 4 years ago | tom
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name '******' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public synchronized java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] threw exception; nested exception is java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
  3. 0

    Cannot convert value of type to required type for property 'userDetailsService': no matching editors or conversion strategy found

    Stack Overflow | 2 years ago | Chintan
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'org.springframework.security.filterChains' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#14' while setting bean property 'sourceList' with key [14]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#14': Cannot resolve reference to bean 'customFilter' while setting constructor argument with key [3]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customFilter' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'preauthAuthProvider' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preauthAuthProvider' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot create inner bean 'userDetailsServiceWrapper' of type [org.springframework.security.core.userdetails.UserDetailsByNameServiceWrapper] while setting bean property 'preAuthenticatedUserDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsServiceWrapper' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.mycompany.common.auth.CustomUserDetailsService' to required type 'org.springframework.security.core.userdetails.UserDetailsService' for property 'userDetailsService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.mycompany.common.auth.CustomUserDetailsService] to required type [org.springframework.security.core.userdetails.UserDetailsService] for property 'userDetailsService': no matching editors or conversion strategy found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Drools - KieBase retrieving the message - Unable to retrieve contents of directory

    Stack Overflow | 2 years ago | Ivan Rodrigues
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bilhetagemBpmnRunnerServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.kie.api.KieBase br.com.pamcary.corporativo.bilhetagem.brms.services.impl.BilhetagemBpmnRunnerServiceImpl.kieBase; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kbase1': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unable to retrieve contents of directory 'C:\Arquivos de Programas'.
  6. 0

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'homeController': Injection of autowired dependencies failed;

    Stack Overflow | 2 years ago | varun
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'homeController': Injection of autowired dependencies failed. I searched for solution of this error but could not find the exact solution for this. There are multiple question are there on stackoverflow. but I am really not able to understand what is the cause of this error and how do I fix it. Stack Trace org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'homeController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.varun.contact.dao.ContactDao com.varun.contact.controller.HomeController.contactDao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.varun.contact.dao.ContactDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

  1. Andreas Häber 2 times, last 1 month ago
  2. wendellpereira 12 times, last 2 months ago
  3. marcbouvierdav 7 times, last 4 months ago
  4. linxiaolong 7 times, last 4 months ago
  5. ggghjh 1 times, last 5 months ago
1 more registered users
94 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.factory.BeanCreationException

    Error creating bean with name 'iconeWS': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1513)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633)[spring-beans-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    8 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)[spring-context-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    2 frames
  4. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)[spring-web-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)[spring-web-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)[spring-web-3.2.10.RELEASE.jar!/:3.2.10.RELEASE]
    3 frames
  5. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)[jbossweb.jar!/:na]
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)[jbossweb.jar!/:na]
    2 frames
  6. JBoss Application Server Tomcat
    TomcatDeployment.performDeploy
    1. org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321)[jboss-web-service.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2. org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)[jboss-web-service.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2 frames
  7. JBoss Application Server Server
    WebModule.start
    1. org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)[jboss.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2. org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)[jboss.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    3. org.jboss.web.deployers.WebModule.start(WebModule.java:97)[jboss.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_45]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_45]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_45]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_45]
    4 frames
  9. org.jboss.mx
    ReflectedDispatcher.invoke
    1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)[jboss-mbeans.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    1 frame
  10. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)[jboss-mbeans.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2. org.jboss.mx.server.Invocation.invoke(Invocation.java:88)[jboss-mbeans.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)[jboss-mbeans.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)[jboss-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    4 frames
  11. org.jboss.system
    ServiceProxy.invoke
    1. org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    1 frame
  12. com.sun.proxy
    $Proxy38.start
    1. com.sun.proxy.$Proxy38.start(Unknown Source)[na:na]
    1 frame
  13. org.jboss.system
    StartStopLifecycleAction.installAction
    1. org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2. org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2 frames
  14. JBoss Microcontainer Dependency
    AbstractControllerContext.install
    1. org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)[jboss-dependency.jar:2.0.10.GA]
    2. org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)[jboss-dependency.jar:2.0.10.GA]
    3. org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)[jboss-dependency.jar:2.0.10.GA]
    4. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)[jboss-dependency.jar:2.0.10.GA]
    4 frames
  15. org.jboss.system
    ServiceControllerContext.install
    1. org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    1 frame
  16. JBoss Microcontainer Dependency
    AbstractController.change
    1. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)[jboss-dependency.jar:2.0.10.GA]
    2. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)[jboss-dependency.jar:2.0.10.GA]
    3. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)[jboss-dependency.jar:2.0.10.GA]
    4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)[jboss-dependency.jar:2.0.10.GA]
    5. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)[jboss-dependency.jar:2.0.10.GA]
    6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)[jboss-dependency.jar:2.0.10.GA]
    6 frames
  17. JBoss Application Server System
    ServiceDeployer.deploy
    1. org.jboss.system.ServiceController.doChange(ServiceController.java:688)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    2. org.jboss.system.ServiceController.start(ServiceController.java:460)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    3. org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    4. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    5. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)[jboss-system-jmx.jar!/:5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)]
    5 frames
  18. JBoss Deployers SPI
    AbstractRealDeployer.deploy
    1. org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)[jboss-deployers-spi.jar!/:2.0.10.GA]
    2. org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)[jboss-deployers-spi.jar!/:2.0.10.GA]
    2 frames
  19. JBoss Deployers Impl
    DeployersImpl.doDeploy
    1. org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)[jboss-deployers-impl.jar!/:2.0.10.GA]
    2. org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)[jboss-deployers-impl.jar!/:2.0.10.GA]
    2 frames