java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/jdbc.properties]

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 wordpress.com by Unknown author, 1 year ago
Could not open ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
via wordpress.com by Unknown author, 1 year ago
Could not open ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
via wordpress.com by Unknown author, 2 years ago
Could not open ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
via Google Groups by jfarcand, 2 years ago
Could not open ServletContext resource [/WEB-INF/AtmosphereServlet-servlet.xml]
via Stack Overflow by fxm
, 2 years ago
Could not open ServletContext resource [/csvHeader.properties]
via Apereo Issues by Charles Munat, 1 year ago
Could not open ServletContext resource [/WEB-INF/-servlet.xml]
java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/jdbc.properties]
at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:663)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:638)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 1 year ago
20 times, 6 months ago
2 times, 7 months ago
7 times, 10 months ago
10 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.