Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Hal Hildebrand, 1 year ago
InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times
via Spring JIRA by Hal Hildebrand, 1 year ago
InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times
via Spring JIRA by Greg Adams, 1 year ago
InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times
via Spring JIRA by Greg Adams, 1 year ago
InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times
java.lang.IllegalStateException: InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times	at org.springframework.core.io.InputStreamResource.getInputStream(InputStreamResource.java:91)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.detectValidationMode(XmlBeanDefinitionReader.java:425)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getValidationModeForResource(XmlBeanDefinitionReader.java:412)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:385)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:352)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:308)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:283)	at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFactory.java:73)	at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFactory.java:61)	at undefined.ResourceReadErrorTest.testDoubleRead(ResourceReadErrorTest.java:23)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)