Spring中出现The prefix “xxxx” for element “xxxxxx”is not bound.即一些标签不提示而且你又找不到dtd约束文件
来源:互联网 发布:dh算法原理 编辑:程序博客网 时间:2024/06/10 08:05
在学习Spring框架时,是否遇到了这样的情况:
看着别人的视频敲代码,但自己的编辑器出现的内容和视频上的不一样;在Eclipse中想要添加一些标签提示,但是在手动添加dtd约束文件的时候你又找不到相应的dtd约束文件,你可以这样做:
<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">
对照着自己的xml文件的开头,选择性的添加复制这些内容即可解决问题。
我的就是不提示util标签,最后把那个xmlns:util="http://www.springframework.org/schema/util" 和http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd加到特定的位置后,相应的标签提示就会出来,Eclipse也不会抛出异常了。
但我写的这些内容只是其中的一点,在后续发现过程中会进行更新,如果有谁有更多的标签提示的dtd希望可以上传下载
看着别人的视频敲代码,但自己的编辑器出现的内容和视频上的不一样;在Eclipse中想要添加一些标签提示,但是在手动添加dtd约束文件的时候你又找不到相应的dtd约束文件,你可以这样做:
<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">
对照着自己的xml文件的开头,选择性的添加复制这些内容即可解决问题。
我的就是不提示util标签,最后把那个xmlns:util="http://www.springframework.org/schema/util" 和http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd加到特定的位置后,相应的标签提示就会出来,Eclipse也不会抛出异常了。
但我写的这些内容只是其中的一点,在后续发现过程中会进行更新,如果有谁有更多的标签提示的dtd希望可以上传下载
0 0
- Spring中出现The prefix "xxxx" for element "xxxxxx"is not bound.即一些标签不提示而且你又找不到dtd约束文件
- Spring中出现The prefix “xxxx” for element “xxxxxx”is not bound.即一些标签不提示而且你又找不到dtd约束文件
- Spring配置文件标签报错:The prefix "XXX" for element "XXX:XXX" is not bound.
- Spring配置文件标签报错:The prefix "XXX" for element "XXX:XXX" is not bound. .
- Spring使用<aop:config>标签时,报The prefix "aop" for element "aop:config" is not bound
- 错误提示:The prefix "aop" for element "aop:config" is not bound.
- 错误提示:The prefix "aop" for element "aop:config" is not bound. .
- 错误提示:The prefix "aop" for element "aop:config" is not bound. .
- 错误提示:The prefix "aop" for element "aop:config" is not bound.
- 错误提示:The prefix "aop" for element "aop:config" is not bound. .
- The prefix "tx" for element "tx:advice" is not bound.
- The prefix "tx" for element "tx:advice" is not bound
- 关于spring配置中the prefix "tx" for element "tx:annotation-driven" is not bound 问题的处理
- Trouble Shoot - The prefix "context" for element "context:component-scan" is not bound. Spring MVC
- Spring The prefix "context" for element "context:annotation-config" is not bound.
- spring 配置问题:The prefix "util" for element "util:list" is not bound"
- shiro用户授权的时候,在springmvc.xml配置出现The prefix "aop" for element "aop:config" is not bound.
- spring使用AOP时the prefix aop for element is not bound.和no declaration can be found错误
- 散列表的基本概念
- post提交数据
- c++删除文件夹内指定批量txt文件的前n行
- 第1章:Introduction
- 在学python(要点整理)
- Spring中出现The prefix “xxxx” for element “xxxxxx”is not bound.即一些标签不提示而且你又找不到dtd约束文件
- DB2 V10.1 HADR快速部署手册
- acm之搜索题目6
- Java设计模式---Builder模式
- Egret教程(一、入门)
- Spring源码阅读之Resource接口
- 线索二叉树 --->树
- html标签全拼介绍
- ognl.ExpressionSyntaxException: Malformed OGNL expression(Strust2)