宇宙379 2010-12-14 10:34:38
在spring xml文件中加入<aop:aspectj-autoproxy/>出现错误提示,
一大串:什么1>could not find the document....
dan<?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:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
但是我已经添加了spring-aop-2.5.jar包啊,里面也有spring-aop-2.5.xsd这个文件啊!!!
请问怎么解决!谢谢。。
...全文
147 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
mushSmallNew 2013-05-27
  • 打赏
  • 举报
回复
是不是少了这行代码?
xmlns:tx="http://www.springframework.org/schema/tx"
krysia 2011-05-31
  • 打赏
  • 举报
回复
求楼主答案……
宇宙379 2011-01-17
  • 打赏
  • 举报
回复
自己顶了。。。好像是配置文件写错了,哈哈

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧