how to resolve my BeansException in spring
<p>i am new to spring technology.I am trying to create simple spring standalone application using j2ee container.</p>

<p>for that i added 4 jar files.</p>

<pre><code>1)commons-loggins-1.3 jar
2)spring_bean_3.0.5
3)spring_core_3.0.0
4)Spring_context_3.0.2
</code></pre>

<p>i am tring to create application context instance in my client class.i am getting following error.</p>

<pre><code>Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
    The type org.springframework.beans.BeansException cannot be resolved. It is indirectly referenced from required .class files
    The constructor ClassPathXmlApplicationContext(String) refers to the missing type BeansException

    at test.Core_J2ee_Client.main(Core_J2ee_Client.java:12)
</code></pre>

<p>This is my code.</p>

<p>this is my client class.</p>

<pre><code>package test;

import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import beans.Test;

public class Core_J2ee_Client {

    public static void main(String[] args) {

        ConfigurableApplicationContext ap = new ClassPathXmlApplicationContext("resource/spring.xml");

    }

}
</code></pre>

<p>This is my pojo class.</p>

<pre><code>package beans;

public class Test {

    public Test(){
        System.out.println("this is test cons---");
    }
    public void hello(){
        System.out.println("this is hello method");
    }
}
</code></pre>

<p>This is my spring.xml file.</p>

<pre><code>&lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"  
        "http://www.springframework.org/dtd/spring-beans.dtd"&gt;
&lt;beans&gt;
&lt;bean id="t" class="beans.Test"&gt;
&lt;/bean&gt;

&lt;/beans&gt;
</code></pre>