в spring всякий раз, когда я пишу <context:annotation-config/>
в моем spring.xml, я получаю эту ошибку: -
Исключение в потоке "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: строка 81 в документе XML из ресурса пути класса [ spring.xml] недействительна; Вложенное исключение - org.xml.sax.SAXParseException; lineNumber: 81; columnNumber: 30; cvc-complex-type.2.4.c: Подстановочный шаблон является строгим, но для контекста элемента: annotation-config не найдено объявления.
И содержимое моего spring.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-4.0.xsd"
xmlns:context="http://www.springframework.org/schema/context"
>
<bean id="circle" class="com.mysite.Circle">
</bean>
...
<context:annotation-config/>
Кто-нибудь скажет мне, где я иду не так????