java.io.FileNotFoundException: \WEB-INF\properties\dbconn.properties (The system cannot find the path specified)

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

Samebug tips

,

Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

Solutions on the web

via Coderanch by Kevin P Smith, 1 year ago
\WEB-INF\properties\dbconn.properties (The system cannot find the path specified)
via Oracle Community by 843841, 1 year ago
visits.txt (The system cannot find the file specified)
via Coderanch by ashirvad jain, 1 year ago
DeploymentDescriptor.xml (The system cannot find the file specified)
via Coderanch by Darren Alexandria, 1 year ago
C:\Documents and Settings\cimuser\My Documents\Dada\FileReader\WebRoot\Raw\325654654.txt (The system cannot find the path specified)
via Coderanch by Darren Alexandria, 1 year ago
C:\Documents and Settings\Administrator\Desktop\test.txt (The system cannot find the file specified)
via Oracle Community by 807606, 6 months ago
Track_4.mp3 (The system cannot find the file specified)
java.io.FileNotFoundException: \WEB-INF\properties\dbconn.properties (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at com.project.database.DBConnectionManager.init(DBConnectionManager.java:184)
at com.project.database.DBConnectionManager.(DBConnectionManager.java:53)
at com.project.database.DBConnectionManager.getInstance(DBConnectionManager.java:42)
at com.project.servlets.LoginAccountServlet.init(LoginAccountServlet.java:27)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)

Users with the same issue

5 times, 2 weeks ago
4 times, 1 month ago
2 times, 1 month ago
Once, 3 months ago
5 times, 3 months ago

Write tip

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