0
Eclipse 3.5でSpring 3.0.5を使用していますが、サーブレットのコンテキストで<mvc:annotation-driven/>
に対して警告が表示されています。Spring MVC 3:Eclipseの<mvc:annotation-driven />
警告は言う:
Unable to locate Spring NamespaceHandler for element 'mvc:annotation-driven' of schema namespace 'http://
www.springframework.org/schema/mvc' in eclipse.
私のサーブレットコンテキストの名前空間宣言がある:誰かが私を理解して助けてもらえ
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
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/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
...
<mvc:annotation-driven/>
</beans>
なぜ私は警告を取得しています myappの-servlet.xml Eclipse 3.5で?
ありがとうございました。
残念ながら、それは私のために働いていませんでした。そして、私はこの問題を2,3日かけて苦労しています...つまり、数十日です! – Cotta