title: Spring Framework Unable to Resolve References in IntelliJ
body: <p>I set up a application configuration file for spring, added it to the facets, and set it up according to another configuration file that works perfectly.
  All of the references to the spring components are visible and seem to work, but all references to items within the xml file fail to be found.</p>
  
  <p>An example is with the tasks:</p>
  
  <pre><code>&lt;task:scheduler id="taskScheduler" /&gt;
  &lt;task:executor id="taskExecutor" pool-size="1" /&gt;
  &lt;task:annotation-driven executor="taskExecutor" scheduler="taskScheduler" /&gt;
  </code></pre>
  
  <p>Both taskScheduler and taskExecutor cannot be resolved. As a result, the task bean never gets set up so all of my @Scheduled annotations never work.</p>
  
  <p>Setting up the factory provider for services works just fine (all @Service and @Autowired annotations work), so I am completely certain the issue is with some configuration issue in the project.</p>
  
  <p>What else needs to be configured in IntelliJ for the beans to work? Why does spring not rescan the file to find references to beans?</p>
  
  <p>Here is where all of the springframework beans are referenced:</p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:task="http://www.springframework.org/schema/task"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:cache="http://www.springframework.org/schema/cache"
     xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
     http://www.springframework.org/schema/task
     http://www.springframework.org/schema/task/spring-task-3.1.xsd
     http://www.springframework.org/schema/context
     http://www.springframework.org/schema/context/spring-context-3.1.xsd
     http://www.springframework.org/schema/cache
     http://www.springframework.org/schema/cache/spring-cache.xsd"
     default-lazy-init="true"&gt;
  </code></pre>