spring里applicationContext.xml里的一堆http://...怎么记亿?
我就要是用注解来使用aop,结果applicationContext.xml里就要这么一大堆xmlns和xsi,这叫人怎么记啊,我电脑不联网的情况下项目就能运行,这些http://...有什么用,又是怎么得出来的?能从spring的jar包里找到吗,或别的方法推出来吗?
而且用了aop注解,原来用的继承接口的proxy方式就报类型转换异常这个帖子里的“Hi h = (Hi) ac.getBean("proxy");”报java.lang.ClassCastException异常
<?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.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd" > <aop:aspectj-autoproxy></aop:aspectj-autoproxy> <bean class="AnnotationAspect"></bean></beans>