I have looked at the other threads and I haven't solved my issue, even it's quite similar . The thing is that I have a test class...
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class WorkflowWebServiceTest {
that loads a Context configuration placed in the same folder, but starting from 'resources'.
test/java/es/in2/signingpad/ws/WorkflowWebServiceTest.java test/resources/es/in2/signingpad/ws/WorkflowWebServiceTest-context.xml
By default, Spring looks at this folder, and intellij recognises that path . In Intellij , just near @contextConfiguration, appears an icon similar to a leaf, that, if it's clicked, it goes to the right file .
The problem is that, when I debug a test method, it says to me that
Caused by: java.io.FileNotFoundException: class path resource [es/in2/signingpad/ws/WorkflowWebServiceTest-context.xml] cannot be opened because it does not exist
Is there any special setup that I'm not taking into account ?