Spring 3-Schemata können nicht geladen werden
ich benutzeFrühling 3.0.5.FREIGABE und heute, wenn ich das Projekt mit Maven baue, erhalte ich folgende Fehler inappicationContext.xml Datei:
- 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'.
Ich habe versucht, die Schema-Links zu öffnen:
Spring XML Beans SchemaDie deklarative Transaktionsverwaltungsinfrastruktur von Spring FrameworkUnterstützung für den Anwendungskontext von Spring Frameworkaber ich bekomme immer die seite Verboten!
hier ist, wie ich das konfiguriereapplicationContext.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">
Bitte geben Sie an, wie Sie diesen Fehler beheben können.