org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restservice-context' defined in URL [zip:/opt/app/weblogic/user_projects/domains/cluster_domain/servers/managedServer14/tmp/_WL_user/ucontrol_portal/9rtorb/APP-INF/lib/rest-service.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'servicelayer-context' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servicelayer-context' defined in URL [zip:/opt/app/weblogic/user_projects/domains/cluster_domain/servers/managedServer14/tmp/_WL_user/ucontrol_portal/9rtorb/APP-INF/lib/service.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailQueueDestination' defined in class path resource [META-INF/applicationContext-service-jms.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Unable to resolve 'queue.EmailQueue'. Resolved 'queue'; remaining name 'EmailQueue'

Oracle Community | Yamraj | 2 months ago
  1. 0

    WLS error

    Oracle Community | 2 months ago | Yamraj
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restservice-context' defined in URL [zip:/opt/app/weblogic/user_projects/domains/cluster_domain/servers/managedServer14/tmp/_WL_user/ucontrol_portal/9rtorb/APP-INF/lib/rest-service.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'servicelayer-context' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servicelayer-context' defined in URL [zip:/opt/app/weblogic/user_projects/domains/cluster_domain/servers/managedServer14/tmp/_WL_user/ucontrol_portal/9rtorb/APP-INF/lib/service.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailQueueDestination' defined in class path resource [META-INF/applicationContext-service-jms.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Unable to resolve 'queue.EmailQueue'. Resolved 'queue'; remaining name 'EmailQueue'
  2. 0

    How to capture the authentication events?

    Stack Overflow | 4 years ago | cid
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Could not resolve matching constructor (hint: secify index/type/name arguments for simple parameters to avoid type ambiguities)
  3. 0

    How to call Store Procedure within a package from Spring Integration

    Stack Overflow | 2 years ago | shoubhgh
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1da205c': Could not resolve matching constructor (hint: sp ecify index/type/name arguments for simple parameters to avoid type ambiguities)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error creating bean with name 'myServiceCustomerOffer' defined in ServletContext resource [/WEB-INF/beans.xml]

    Stack Overflow | 3 years ago | RaG
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myServiceCustomerOffer' defined in ServletContext resource [/WEB-INF/beans.xml]: 1 constructor arguments specified but no matching constructor found in bean 'myServiceCustomerOffer' (hint: specify index and/or type arguments for simple parameters to avoid type ambiguities)
  6. 0

    [NMS-7076] OpenNMS does not start on Windows - The OpenNMS Issue Tracker

    opennms.org | 12 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException

  1. haerick 2 times, last 6 months ago
  2. Nikolay Rybak 1 times, last 6 months ago
2 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 'restservice-context' defined in URL [zip:/opt/app/weblogic/user_projects/domains/cluster_domain/servers/managedServer14/tmp/_WL_user/ucontrol_portal/9rtorb/APP-INF/lib/rest-service.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'servicelayer-context' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servicelayer-context' defined in URL [zip:/opt/app/weblogic/user_projects/domains/cluster_domain/servers/managedServer14/tmp/_WL_user/ucontrol_portal/9rtorb/APP-INF/lib/service.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailQueueDestination' defined in class path resource [META-INF/applicationContext-service-jms.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Unable to resolve 'queue.EmailQueue'. Resolved 'queue'; remaining name 'EmailQueue'

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference()
  2. Spring Beans
    ConstructorResolver.autowireConstructor
    1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
    2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    3. org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:650)
    4. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
    4 frames