- 博客(23)
- 问答 (2)
- 收藏
- 关注
原创 maven 打包 deploy 项目时 出现 401 Unauthorized
maven 打包 deploy 项目时 出现 401 Unauthorized
2022-11-08 10:34:20
5219
1
原创 解决fatal: unable to connect to github.com问题
fatal: unable to connect to github.com:github.com[0: xx.xx.xx.xx]: errno=Operation timed out
2022-08-04 14:51:21
5350
1
转载 解决问题:Mac OS遇到 Operation not permitted 问题
随之Mac OS的不断升级,使用某些程序时会遇到Operation not permitted相关的问题,形式多种多样。参考链接:http://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/解决方案如下:1.左上角点击选择‘System Preferences’2.选择“Security & Privacy”3.选择 “Privacy”-->“Full Disk Acces
2021-03-14 11:31:01
3208
1
原创 springboot 启动报错 java.lang.IllegalStateException: Failed to introspect annotated methods on class org
idea启动springboot +maven项目报错: . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |
2017-11-03 14:53:22
52999
5
原创 springboot入门---入口类注解@SpringBootApplication解析
springboot入门---入口类注解@SpringBootApplication解析
2017-09-27 14:52:18
13205
原创 pdm设计表完成之后导入Navicat数据库,字段注释乱码问题解决
问题: 如图所示,pdm设计表完成之后生成sql文件 ,然后再将sql导入到navicat中,打开表发现表字段出现乱码问题。 解决: 在从pdm生成sql文件的时候,修改编码格式即可,具体方式如下: 注意: 选择utf8的时候下边还有个“utf8(with signature)”这个是utf8带签名的意思,一般不用。 修改之后如下:
2017-09-25 16:37:45
3664
原创 Consider defining a bean of type 'com.taikang.service.ChongyGameInfoService' in your configuration.
Consider defining a bean of type 'com.taikang.service.ChongyGameInfoService' in your configuration.
2017-09-08 14:23:44
3894
原创 关于mysql如何判断会不会产生死锁的分析
1. 背景:最近做一个微信小游戏的项目,里边有获取微信昵称的功能,用户访问之后,就会保存用户的昵称,昵称中含有图片、表情等,如果想要正确的存入mysql库中,必须将昵称这个字段的字符集设置成utf8mb4的格式,utf8只能解析三位的编码,而utfmb4能解析图片转换的4位的编码,但是由于项目已经上线,访问量比较大,想更改数据库编码,就有可能出现锁表的情况。过了几天之后访问量有所下降,但是仍然
2017-09-05 19:39:37
906
原创 mysql安装到第三步“Start Service“出现红叉,Could not start the service MySQL解决方法
mysql 安装到第三步出现红叉
2017-08-30 16:16:42
27320
15
原创 An internal error occurred during: "Building workspace". PermGen space
An internal error occurred during: “Building workspace”. PermGen space
2017-08-29 14:46:57
606
原创 'dependencies.dependency.version' for XXX:jar is missing
springboot新建项目,pom文件报错,依赖包的版本丢失:[INFO] Scanning for projects...[ERROR] [ERROR] Some problems were encountered while processing the POMs:[ERROR] 'dependencies.dependency.version' for XXX:jar is missing
2017-08-29 10:30:20
64726
7
原创 错误: 找不到或无法加载主类 com.taikang.Application
springboot项目时不时的就会出现这个错误, 错误: 找不到或无法加载主类 com.taikang.Application 解决方案: 自己在maven clean之后,会把target里边的清理表,项目就需要重新进行编译,这时候如果运行的话就会出现以上错误,在运行项目之前,需要maven install一下即可。
2017-07-27 16:26:56
10900
原创 方法中注入配置文件中的参数注入不进来
@RestControllerpublic class XXXController { @Value("${logFlag}") private String logFlag; @Autowired private InsuInfoService insuInfoService; @ResponseBody @RequestMapping(value="
2017-07-27 16:00:13
1219
原创 Consider defining a bean of type ‘tk.mybatis.mapper.common.Mapper’ in your configuration.
Consider defining a bean of type 'tk.mybatis.mapper.common.Mapper' in your configuration.No qualifying bean found for dependency [tk.mybatis.mapper.common.Mapper<com.xx.model.QixiGameInfo>]: expected at least
2017-07-26 14:18:24
7813
转载 redis解决(DENIED Redis is running in protected mode because prote)
本文转载自:http://news.tuxi.com.cn/news/16541999999012402/4020207.html在应用上telnet端口和ping都没有问题,为什么还获取不到值呢。先安装一个redis客户端进行测试:yum -y install redisredis-cli -h 192.168.32.12 -p 6887然后就报错了:(e
2017-06-22 16:25:35
921
空空如也
数据库设计如何确定字段的长度
2017-06-19
java程序获取手机ip和归属地的问题
2017-06-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人