ClassPathResource.getInputStream() has thrown an IllegalStateException

java.lang.IllegalStateException
Javadoc
Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. @author Jonni Kanerva @since JDK1.1
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
(source)
at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream
(source)
at org.springframework.core.io.ClassPathResource.getInputStream
(source)

Typical Exception Messages

  1. Illegal access: this web application instance has been stopped already. Could not load [META-INF/mybatis/datasource1.mybatis.config.xml]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
  2. Illegal access: this web application instance has been stopped already. Could not load [org/sakaiproject/config/kernel.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

Origin

Similar

External results for this pattern (1)

  1. Illegal access: this web application instance has been stopped already. Could not load [org/sakaiproject/config/kernel.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
    Show stack trace