java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defined in file [/home/travis/build/helix84/DSpace/dspace-api/target/classes/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts

Sakai JIRA | Ivan Masár | 10 months ago
  1. 0

    org.apache.httpcomponents httpclient upgrade 4.3.5 -> 4.5.1 fails on test: Running org.dspace.identifier.EZIDIdentifierProviderTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.013 sec <<< FAILURE! - in org.dspace.identifier.EZIDIdentifierProviderTest org.dspace.identifier.EZIDIdentifierProviderTest Time elapsed: 4.012 sec <<< ERROR! java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defined in file [/home/travis/build/helix84/DSpace/dspace-api/target/classes/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:229) at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153) at org.dspace.AbstractDSpaceTest.initKernel(AbstractDSpaceTest.java:78) https://travis-ci.org/helix84/DSpace/builds/106563662

    Sakai JIRA | 10 months ago | Ivan Masár
    java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defined in file [/home/travis/build/helix84/DSpace/dspace-api/target/classes/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts
  2. 0

    org.apache.httpcomponents httpclient upgrade 4.3.5 -> 4.5.1 fails on test: Running org.dspace.identifier.EZIDIdentifierProviderTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.013 sec <<< FAILURE! - in org.dspace.identifier.EZIDIdentifierProviderTest org.dspace.identifier.EZIDIdentifierProviderTest Time elapsed: 4.012 sec <<< ERROR! java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defined in file [/home/travis/build/helix84/DSpace/dspace-api/target/classes/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:229) at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153) at org.dspace.AbstractDSpaceTest.initKernel(AbstractDSpaceTest.java:78) https://travis-ci.org/helix84/DSpace/builds/106563662

    Sakai JIRA | 10 months ago | Ivan Masár
    java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defined in file [/home/travis/build/helix84/DSpace/dspace-api/target/classes/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts
  3. 0

    ehcache upgrade 2.4.3 -> 2.6.11 fails on test: Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.619 sec <<< FAILURE! - in org.dspace.servicemanager.DSpaceKernelImplTest testMultipleKernels(org.dspace.servicemanager.DSpaceKernelImplTest) Time elapsed: 0.462 sec <<< ERROR! java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [file:/home/travis/build/helix84/DSpace/dspace-services/target/classes/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.FileInputStream@72f69182] at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:529) https://travis-ci.org/helix84/DSpace/builds/106556416

    Sakai JIRA | 10 months ago | Ivan Masár
    java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [file:/home/travis/build/helix84/DSpace/dspace-services/target/classes/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.FileInputStream@72f69182]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ehcache upgrade 2.4.3 -> 2.6.11 fails on test: Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.619 sec <<< FAILURE! - in org.dspace.servicemanager.DSpaceKernelImplTest testMultipleKernels(org.dspace.servicemanager.DSpaceKernelImplTest) Time elapsed: 0.462 sec <<< ERROR! java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [file:/home/travis/build/helix84/DSpace/dspace-services/target/classes/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.FileInputStream@72f69182] at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:529) https://travis-ci.org/helix84/DSpace/builds/106556416

    Sakai JIRA | 10 months ago | Ivan Masár
    java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.services.CachingService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' defined in URL [file:/home/travis/build/helix84/DSpace/dspace-services/target/classes/spring/spring-dspace-core-services.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.FileInputStream@72f69182]
  6. 0

    Failed to deploy the application to Worklight server

    Stack Overflow | 3 years ago | eveo
    java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in URL [wsjar:file:/Users/eveo/Documents/workspace2/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'brokerSessionFactory' while setting bean property 'entityManagerFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerSessionFactory' defined in URL [wsjar:file:/Users/eveo/Documents/workspace2/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar!/conf/spring-server-core.xml]: Cannot resolve reference to bean 'rssBrokerDS' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rssBrokerDS' defined in URL [wsjar:file:/Users/eveo/Documents/workspace2/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar!/conf/spring-server-core.xml]: Cannot resolve reference to bean 'worklight-direct' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklight-direct' defined in URL [wsjar:file:/Users/eveo/Documents/workspace2/WorklightServerConfig/shared/resources/worklight-jee-library-6.0.0.jar!/conf/spring-server-core.xml]: Invocation of init method failed; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (error in script file line: 119 java.lang.OutOfMemoryError: Java heap space)

    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. java.lang.RuntimeException

      Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.app.sherpa.SHERPAService' defined in file [/home/travis/build/helix84/DSpace/dspace-api/target/classes/spring/spring-dspace-addon-sherpa-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.sherpa.SHERPAService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts

      at org.dspace.servicemanager.DSpaceServiceManager.startup()
    2. DSpace Services Framework :: API and Implementation
      DSpaceKernelImpl.start
      1. org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:229)
      2. org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153)
      2 frames
    3. org.dspace
      AbstractDSpaceTest.initKernel
      1. org.dspace.AbstractDSpaceTest.initKernel(AbstractDSpaceTest.java:78)
      1 frame