當spring petclinic提示Can not find the tag library descriptor for http://www.springframework.org/tags

處理方法:


1.更改pom.xml文件,


<properties>
    <spring.version>3.0.6.RELEASE</spring.version>
</properties>

加入到文件中,


    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${spring.version}</version>
    </dependency>
來取代

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId> 
    </dependency>
然後再用maven來update project

OK,搞掂。

原文參考:http://stackoverflow.com/questions/4219166/can-not-find-the-tag-library-descriptor-of-springframework

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章