IDEA 2017.1.1 - Resource Files Not Recognized
Answered
java.io.FileNotFoundException: src\test\resources\Documents\File.xml (The system cannot find the path specified)
I've got several different test classes that are showing that the resources aren't found. I've followed the document to add resource to my Resource Patterns (!?*.java;!?*.form;!?*.class;!?*.groovy;!?*.scala;!?*.flex;!?*.kt;!?*.clj;!?*.aj;*.prefs;*.xml;*.TXT). I've also added the test folders in the Project Structure -> Sources. My Test Resource Folders list both src/test/resources and src/test/resources/Documents and my tests are all failing that use these folders.
I've read a number of stackoverflow posts about this issue in the past and nothing is resolving this. Please advise.
Please sign in to leave a comment.
Please share the MCVE so that we can help you.