Failed to load ApplicationContext


Failed to load ApplicationContext


未能加载ApplicationContext:  class地址有问题从而导致找不到   

以上问题可能是你的 xml 里的 bean类中  class 路径写错了.  选择类路径的类全名粘贴上去.就好了.
 
 <!-- target 实现类  目标 -->
 <bean id="userService" class="com.itheima.aspectJ.UserServiceImpl"></bean>
 <!-- advice 增强类    切点 -->
 <bean id="userServiceAdvice" class="com.itheima.aspectJ.UserServiceHelper"></bean> 

猜你喜欢

转载自blog.csdn.net/qq_24641227/article/details/80032467