org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.loggingConfigController': Invocation of init method failed; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: ServletContext resource [/-Djava.util.logging.config.file=/var/www/html/tcserver/pivotal-tc-server-standard-3.0.3.RELEASE/login_accept/conf/logging.properties] cannot be resolved to URL because it does not exist

GitHub | mhgs | 2 weeks ago
  1. 0

    App only works after Tomcat restart

    Stack Overflow | 1 year ago | user3227576
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/NestedRuntimeException
  2. 0

    Redis integration in JHipster application

    Stack Overflow | 2 years ago | Adel
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. 0

    Spring + Quartz: @PostConstruct method is called twice

    Stack Overflow | 3 months ago | Glänzende Perlen
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskController': Invocation of init method failed; nested exception is org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'emailTaskGroup.423946369', because one already exists with this identification.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue running CAS: logging.properties not found

    GitHub | 2 weeks ago | mhgs
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.loggingConfigController': Invocation of init method failed; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: ServletContext resource [/-Djava.util.logging.config.file=/var/www/html/tcserver/pivotal-tc-server-standard-3.0.3.RELEASE/login_accept/conf/logging.properties] cannot be resolved to URL because it does not exist
  6. 0

    MQTT protocol adapter Docker image does not start

    GitHub | 1 month ago | sophokles73
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'application': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: io/vertx/mqtt/MqttEndpoint

  1. jpvee 24 times, last 2 weeks ago
4 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. java.io.FileNotFoundException

    ServletContext resource [/-Djava.util.logging.config.file=/var/www/html/tcserver/pivotal-tc-server-standard-3.0.3.RELEASE/login_accept/conf/logging.properties] cannot be resolved to URL because it does not exist

    at org.springframework.web.context.support.ServletContextResource.getURL()
  2. Spring
    ServletContextResource.getURL
    1. org.springframework.web.context.support.ServletContextResource.getURL(ServletContextResource.java:156)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    1 frame
  3. Spring Core
    AbstractResource.getURI
    1. org.springframework.core.io.AbstractResource.getURI(AbstractResource.java:99)[spring-core-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    1 frame
  4. org.apereo.cas
    LoggingConfigController.initialize
    1. org.apereo.cas.web.report.LoggingConfigController.initialize(LoggingConfigController.java:82)[cas-server-support-reports-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_45]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_45]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_45]
    4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_45]
    4 frames
  6. Spring Beans
    AbstractBeanFactory$2.getObject
    1. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    2. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    3. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1581)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:554)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:345)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    8 frames
  7. org.springframework.cloud
    GenericScope.get
    1. org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:359)[spring-cloud-context-1.1.6.RELEASE.jar:1.1.6.RELEASE]
    2. org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:176)[spring-cloud-context-1.1.6.RELEASE.jar:1.1.6.RELEASE]
    2 frames
  8. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    2. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    2 frames
  9. Spring Context
    AbstractApplicationContext.getBean
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1081)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    1 frame
  10. org.springframework.cloud
    RefreshScope.start
    1. org.springframework.cloud.context.scope.refresh.RefreshScope.start(RefreshScope.java:121)[spring-cloud-context-1.1.6.RELEASE.jar:1.1.6.RELEASE]
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_45]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_45]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_45]
    4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_45]
    4 frames
  12. Spring Context
    AbstractApplicationContext.finishRefresh
    1. org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:253)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    2. org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:174)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    3. org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:137)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    4. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    5. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    6. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    7. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:337)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    8. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    8 frames
  13. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    1 frame
  14. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)[spring-context-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    1 frame
  15. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    4 frames
  16. org.springframework.boot
    SpringBootServletInitializer.onStartup
    1. org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    2. org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    3. org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    3 frames
  17. Spring
    SpringServletContainerInitializer.onStartup
    1. org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
    1 frame
  18. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5151)[catalina.jar:8.0.20.B]
    2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.0.20.B]
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.20.B]
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.20.B]
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)[catalina.jar:8.0.20.B]
    6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)[catalina.jar:8.0.20.B]
    7. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1701)[catalina.jar:8.0.20.B]
    7 frames
  19. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_45]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_45]
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_45]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_45]
    5. java.lang.Thread.run(Thread.java:745)[?:1.8.0_45]
    5 frames