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="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">


<context:property-placeholder
      location="classpath*:*.properties,file:///usr/local/blah/website.properties"
      ignore-resource-not-found="true"/>


  <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"/>


</beans>

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

0
1 comment
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.