title: How to import Java-config class into XML-config so that both contexts have beans?
body: <p>I have a project where I need to bootstrap @Configuration java-config classes into the XML configuration.</p>
  
  <p>To do that, I'm reading that I also need to include the following bean definition (along with the bean definitions of the classes annotated with @Configuration).</p>
  
  <pre><code>&lt;bean class="org.springframework.config.java.process.ConfigurationPostProcessor" /&gt;
  </code></pre>
  
  <p>But, I end up receiving the following error:</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: org.springframework.config.java.process.ConfigurationPostProcessor
  </code></pre>
  
  <p>I have to assume I'm missing a jar somewhere, but my various web searches hasn't resulted in an answer yet.  Any help would be greatly appreciated.  Thanks.</p>
  
  <p><strong>EDIT</strong>:  Evidently, I was reading old documentation, which is no longer current.  Let me back up.  My project contains older XML-based configuration.  The newer code is all using 'Java-config'.  With that said, the contexts are apparently completely separate.  I'd like to 'import' a java-config class into the XML configuration, so that both contexts have those particular beans.  Does anyone know how I can do that?</p>