Answers for "IOException parsing XML document from class path resource [MiniApplicationConfig.xml]; nested exception is java.io.FileNotFoundException: class path resource [MiniApplicationConfig.xml] cannot be opened because it does not exist"

0

IOException parsing XML document from class path resource [MiniApplicationConfig.xml]; nested exception is java.io.FileNotFoundException: class path resource [MiniApplicationConfig.xml] cannot be opened because it does not exist

It is trying to load this file from the classpath and cannot find it. 
Try specifying just "combined2.xml" instead of 
"src/main/java/resources/combined2.xml" and make sure that 
src/main/java/resources is on your classpath.

By the way, in Maven, the standard directory for resources 
is src/main/resources, so I suggest you put this file there.
Posted by: Guest on July-01-2021

Code answers related to "IOException parsing XML document from class path resource [MiniApplicationConfig.xml]; nested exception is java.io.FileNotFoundException: class path resource [MiniApplicationConfig.xml] cannot be opened because it does not exist"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language