myelipse applicationContext.xml里面用不了util标签怎么办?

版权声明:博客知识产权来源命运的信徒,切勿侵权 https://blog.csdn.net/qq_37591637/article/details/85111819

最迅速最好的办法就是,在applicationContext.xml的表头上面加一个xmlns:util="http://www.springframework.org/schema/util"

我的配置文件的表头是这样的

<?xml version="1.0" encoding="UTF-8"?>
<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-3.1.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.3.xsd">

现在就可以用util标签了

猜你喜欢

转载自blog.csdn.net/qq_37591637/article/details/85111819