The prefix "xxxx" for Element "xxxxxx" in spring appears to be not bound. That is, some tags are not prompted and you cannot find a DTD constraint file

Source: Internet
Author: User
When learning the spring framework, are you experiencing this situation:


Watch someone else's video knock code, but the content of their own editor is not the same as the video; you want to add some tag hints in eclipse, but you can't find the DTD constraint file when you manually add a DTD constraint file, you can do this:


<beans xmlns= "Http://www.springframework.org/schema/beans"
Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
Xmlns:util= "Http://www.springframework.org/schema/util"
xmlns:p= "http://www.springframework.org/schema/p"
xsi:schemalocation= "Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/ Spring-beans.xsd
Http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd ">


By comparing the beginning of your XML file with a selective addition, you can solve the problem by adding duplicates of the content.


Mine is not prompt util tag, finally put that xmlns:util= "Http://www.springframework.org/schema/util" and http://www.springframework.org/ Schema/util Http://www.springframework.org/schema/util/spring-util-4.0.xsd is added to a specific location, the corresponding label hints will come out and eclipse will not throw an exception.


But what I wrote about these content is just one of the things that will be updated during the follow-up discovery process, if there's a DTD who has more tag hints hopefully can upload the download

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.