接着我们讲讲关联关系的配置,我们耳熟能详的MVC结构,Controller关联着Service,Service关联着UserRepository,接着上一节的代码,完成上诉功能 在Main方法里,我们希望调用Controller的execute()方法能打印出三条信息,接下来我们直接运行一下 Use... ...
分类:
编程语言 时间:
2019-04-27 11:28:48
阅读次数:
123
每次登陆都会报这个错误,尝试了很多次都没解决,代码重编译后清除浏览器cookie登陆就会出现这个报错,虽然不影响登陆但是看着很不爽!!!! 问题产生的原因是rememberMe的cookie在第二次打开页面后shiro无法解密,经过查询资料以及代码跟踪发现了原因所在 先附上rememberMe管理器 ...
分类:
编程语言 时间:
2019-04-26 17:50:47
阅读次数:
1183
记录一个小问题 使用了mybatis-generator插件自动生成实体类,DAO,Mapper,在执行时报错。报错信息如下 Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:gener ...
分类:
其他好文 时间:
2019-04-23 14:21:51
阅读次数:
1792
3.A database is open read write and the instance has multiple sessions some of which have active transactions. You execute this command: SQL> ALTER SY ...
分类:
其他好文 时间:
2019-04-23 13:07:20
阅读次数:
113
insert goodlocation: sp_batchinsert_goodlocation: Execute: Result: ...
分类:
其他好文 时间:
2019-04-23 13:00:14
阅读次数:
128
view.pydef search_post(request): global ctx_2 cursor.execute('select * from testdj_test') #ctx = {} ctx_2 = dictfetchall(cursor) return render(request ...
分类:
数据库 时间:
2019-04-23 12:38:59
阅读次数:
204
spring aop中pointcut表达式完整版 本文主要介绍spring aop中9种切入点表达式的写法 1. execute 2. within 3. this 4. target 5. args 6. @target 7. @within 8. @annotation 9. @args 0. ...
分类:
编程语言 时间:
2019-04-21 11:29:16
阅读次数:
197
问题描述: 回宿舍前,在root用户中安装fish,并修改其shell为fish。回宿舍之后,在图形界面用root用户进行登陆,莫名其妙登陆失败。没有任何提示信息,直接回到登陆界面。用非root用户登陆后,执行su root命令切换到root用户,报错:su execute /usr/bin/ 权限 ...
分类:
系统相关 时间:
2019-04-20 09:19:54
阅读次数:
335
MYSQL导入数据出现:The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 【1】分析原因 其实原因很简单,因为在安装MySQL的时候限制了导入与导出的目 ...
分类:
数据库 时间:
2019-04-18 10:54:46
阅读次数:
1537
在项目中添加WEB引用耦合度较高,更新时要更新引用,所以我建议不添加WEB引用调用WSDL接口,废话不多说,直接上代码 例如WSDL地址为:http://XXX.XX.XXX.XXX:9115/WsPortal/soap/ws?WSDL 需要调用execute方法 先查看描述文件参数 /// <su ...