Wildcard match is comprehensive, but cannot find the declaration of element ' mvc:resources '

Source: Internet
Author: User




Similarly

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:Line in XML document from class path Resource [bean.xml] is invalid; Nested exception is org.xml.sax.SAXParseException; linenumber:52; columnnumber:58; cvc-complex-type.2.4.
C: The wildcard match is comprehensive, but the declaration of the element ' Tx:annotation-driven ' cannot be found. Seek to solve???

Solutions»
  1. Did the spring configuration file error? Also remember to add the following Red font section
    <beans xmlns= "Http://www.springframework.org/schema/beans"
    xmlns:aop= "HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP" xmlns:context= "Http://www.springframework.org/schema/context"
    Xmlns:jee= "Http://www.springframework.org/schema/jee"xmlns:tx= "Http://www.springframework.org/schema/tx"
    Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemalocation= "Http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/ Spring-aop-3.0.xsd Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/ Spring-beans-3.0.xsd Http://www.springframework.org/schema/context Http://www.springframework.org/schema/context /spring-context-3.0.xsd Http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/ Spring-jee-3.0.xsdhttp://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">









Reference:

Http://www.debugease.com/j2ee/153550.html

http://elf8848.iteye.com/blog/875830

Wildcard match is comprehensive, but cannot find the declaration of element ' mvc:resources '

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.