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 | Raja Kummathi | 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

    WCS install error

    Oracle Community | 2 years 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
  2. 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
  3. 0

    cas Deployment error in Weblogic Server

    Oracle Community | 5 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
  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

    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
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. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
    2 frames
  8. org.apache.catalina
    HTMLManagerServlet.doGet
    1. org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
    2. org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:625)
    3. org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
    3 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    2 frames
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:194)
    4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    6. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    8. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
    9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    11. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    12. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    12 frames
  11. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    3 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame