org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist

Oracle Community | Nelash Jindal | 2 years ago
  1. 0

    Error while deploying cas on weblogic

    Oracle Community | 2 years ago | Nelash Jindal
    org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist
  2. 0

    Adding properties file to classpath but getting a FileNotFoundException

    Stack Overflow | 4 years ago | Blankman
    java.io.FileNotFoundException: class path resource [web.properties] cannot be opened because it does not exist
  3. 0

    How to load a properties files from resin server classpath

    Google Groups | 2 years ago | Nestor Urquiza
    java.io.FileNotFoundException: class path resource [app.properties] cannot be opened because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule - User - Mule IDE issues with context:property-placeholder (Eclipse Galileo)

    nabble.com | 9 months ago
    java.io.FileNotFoundException: class path resource [test.properties] cannot be opened because it does not exist
  6. 0

    Installation trouble on Win2008/Tomcat

    Oracle Community | 4 years ago | 951501
    org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist

  1. aldrinleal 1 times, last 5 months ago
  2. Kawada 6 times, last 8 months ago
11 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

    class path resource [cas.properties] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream()
  2. Spring Core
    PropertiesLoaderSupport.mergeProperties
    1. org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:143)
    2. org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:182)
    3. org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
    3 frames
  3. Spring Beans
    PropertyResourceConfigurer.postProcessBeanFactory
    1. org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:72)
    1 frame
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:553)
    2. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:530)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)
    3 frames
  5. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:46)
    3 frames
  6. Jasig CAS Core
    SafeContextLoaderListener.contextInitialized
    1. org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:62)
    1 frame
  7. Atmosphere weblogic
    EventsManager$FireContextListenerAction.run
    1. weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    1 frame
  8. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  9. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    1 frame
  10. Atmosphere weblogic
    WebAppModule.start
    1. weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    2. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
    3. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
    4. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
    5. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
    5 frames
  11. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    1 frame
  12. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  13. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    4 frames
  14. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  15. weblogic.application.internal
    BaseDeployment$2.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
    3 frames
  16. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  17. weblogic.application.internal
    DeploymentStateChecker.activate
    1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    2. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
    3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    3 frames
  18. weblogic.deploy.internal
    DeploymentServiceDispatcher.commit
    1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    2. weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    3. weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    4. weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    5. weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    6. weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    7. weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    8. weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    9. weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
    9 frames
  19. weblogic.deploy.service
    DeploymentReceiverCallbackDeliverer$2.run
    1. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    2. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    3. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
    3 frames
  20. weblogic.work
    ExecuteThread.run
    1. weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    2. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    3. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    3 frames