- 博客(10)
- 收藏
- 关注
原创 idea初始化带pom文件的maven项目
1、点击菜单栏Help->Find Action(Ctrl+Shift+A),输入Maven projects。然后点击Add Maven Projects
2022-04-17 16:30:20 510
原创 redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
spring连接redis报错:Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk....
2020-03-06 11:04:54 2091 2
原创 通用mapper报错tk.mybatis.mapper.provider.EmptyProvider中缺少selectOne方法!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tk.mybatis.mapper.autoconfigure.MapperAutoConfiguration': Invocation of init method failed; nested exception is ...
2018-10-16 18:52:54 4681 6
转载 Spring AOP @Before @Around @After 等 advice 的执行顺序
转载:https://blog.csdn.net/rainbow702/article/details/52185827用过spring框架进行开发的人,多多少少会使用过它的AOP功能,都知道有@Before、@Around和@After等advice。最近,为了实现项目中的输出日志和权限控制这两个需求,我也使用到了AOP功能。我使用到了@Before、@Around这两个advice。但在,...
2018-09-20 10:43:34 234
原创 Java中isAssignableFrom()方法与instanceof()方法用法
isAssignableFrom()方法是从类继承的角度去判断,instanceof()方法是从实例继承的角度去判断。 isAssignableFrom()方法是判断是否为某个类的父类,instanceof()方法是判断是否某个类的子类。...
2018-08-23 12:32:07 586
转载 linux后台执行./run.py提示python syntax error near unexpected token `('
python脚本中的#!/usr/bin/python 估计有不少人注意过一些python脚本开头有这么行东东:#!/usr/bin/python它是用来干嘛的?貌似没有它对脚本功能也没啥影响。它是用来指定用什么解释器运行脚本以及解释器所在的位置。以test.py为例,脚本内容如下:def test(): print 'hello, world'if ...
2018-08-22 11:20:30 1751
原创 committer does not match your user account
问题:git提交到远程提示:committer does not match your user account.原因:你本地的账号和远程的账号不一致导致该错误解决办法:push提示该错误,所以你已经ci到了本地,需要解决需要3步 1. 修改新账户,我一般都是改的global 修改邮箱:git config –global user.email xxx 修改用户:git c...
2018-08-06 10:23:09 1982
转载 Springboot 之 解决IDEA读取properties配置文件的中文乱码问题
原文链接:http://www.zslin.com/web/article/detail/47· 问题描述当在.properties的配置文件中有中文时,读取出来的总是乱码。比如我的application.properties配置文件的内容如下:server.port=9090test.msg=你好:Springboot当在程序中读取test.msg值时总是会得
2017-12-04 16:04:51 464
转载 org.springframework.web.context.ContextLoader -0 [localhost-startStop-1] ERROR org.springframewor
2017-10-17 11:39:01 163 - org.springframework.web.context.ContextLoader -0 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failedjava.lang.
2017-10-17 13:51:59 7351
转载 maven笔记
转自:http://celestialwolf.iteye.com/blog/720303 初学maven即感受到其强大的便捷性,大体记录下maven的基础知识以备不时之需。 常用命令为 : mvn archetype:create :创建 Maven 项目 mvn compile :编译源代码
2017-09-27 16:19:30 201
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人