JAVA
StayOutThere
岁月无可回头...
展开
-
Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot cre
关于Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0'报错原创 2017-02-22 19:55:07 · 5706 阅读 · 0 评论 -
使用ssh注解查询
今天学习ssh注解,发现用注解比配置bean要简单得多。在此想记录下来! 首先这是我的代码层次图: 1.首先导入必要的包,我这里大概引用51个包2.配置web.xml <?xml version="1.0" encoding="UTF-8"?><web-app version="2.5" xm...原创 2017-03-07 19:52:47 · 618 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObjectConta
关于: java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObjectContainer的报错问题 不要引用不必要的包:struts2-gxp-plugin-2.3.15.3.jar导入必要的包: ...转载 2017-03-04 11:05:05 · 2000 阅读 · 1 评论 -
配置切入点Pointcut的几种方式
1.当切入点为所有的public方法时: execution(public**(..)) 2.2.当切入点为所有的set开始方法时:execution(*set*(..)) 3.当切入点为XXX类种所有的方法时:execution(*XXX*(..)) 4 当切入点为com.service包下所有的方法时:execution(*com.service.....原创 2017-02-18 20:29:06 · 10465 阅读 · 0 评论