Nie można załadować schematów sprężynowych 3
ja używamSpring 3.0.5.RELEASE a dziś, kiedy buduję projekt z mavenem, otrzymuję następujące błędyappicationContext.xml plik:
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
'context:component-scan'.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-
config'.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-
driven'.
Próbowałem otworzyć linki schematu:
Spring XML Beans SchemaDeklaratywna infrastruktura zarządzania transakcjami Spring FrameworkObsługa kontekstu aplikacji Spring Frameworkale zawsze dostaję stronę Zabronione!
Oto, jak konfigurujęapplicationContext.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"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
proszę doradzić, jak naprawić ten błąd.