IDEA 11 not resolving relative Spring context files

I have the following file located under WEB-INF/spring/root-context.xml which imports other Spring context files in the same directory:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""


  <import resource="mail.xml"/>
  <import resource="services.xml"/>
  <import resource="scheduled-tasks.xml"/>
  <import resource="classpath*:blacklister-service.xml"/>
  <import resource="classpath*:blacklist-client.xml"/>


The files which don't have a classpath*: prefix are not resolved (marked red).

1 comment

Disregard. After making an edit to the file, everything magically resolved.


Please sign in to leave a comment.