Spring出现ClassNotFound,但class存在

测试文件

package yql.com;

import org.junit.Test;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo {
    @Test
    public void  demo(){
    String xmlpath="yql/com/applicationContext.xml";
    ApplicationContext application=new ClassPathXmlApplicationContext(xmlpath);      _//这里失败_
    Person person=(Person) application.getBean("Person1");
    person.choose();
    }
} 

XML文件也是很简单的配置

<?xml version="1.0" encoding="UTF-8"?>
<beans  xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans.xsd">

<bean id="Person1" class="yql/com/PersonImpl.java"></bean>

</beans > 

classes文件下四个class类一个不少。用的是spring4.0.6,只可能时JDK1.8版本问题了么?
是要去官网重新下1.7还是更低?