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 | 3009044 | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sites installation - cas deployment

    Oracle Community | 2 years ago | 3009044
    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

    cas Deployment error in Weblogic Server

    Oracle Community | 4 years ago | Shaheer
    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
  3. 0

    Installation trouble on Win2008/Tomcat

    Oracle Community | 5 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while installine WebCenter Sites..

    Oracle Community | 3 years ago | Suchith Shivakumar
    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
  6. 0

    WCS install error

    Oracle Community | 1 year ago | Raja Kummathi
    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
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:69)
    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:527)
    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:45)
    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:1868)
    3. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    4. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
    5. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
    5 frames
  11. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    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:200)
    3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    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:27)
    3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
    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.StartOperation.doCommit(StartOperation.java:149)
    6. weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    7. weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    8. weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    9. weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    10. weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    10 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:68)
    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