自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

allen

随心记,没什么规则,感觉有需要记的了就写一篇

  • 博客(14)
  • 资源 (1)
  • 收藏
  • 关注

原创 spring security踩坑记录(web.ignoring不生效、无法@Autowired注入其他组件)

spring Security版本:1.5.101、spring Security的web.ignoring不生效:原因分析: 自定义过滤器交给了spring IOC管理,所以你在spring Security的config无论怎么配都会走到自己的过滤器。解决办法: 自定义过滤器不能以bean的形式注入spring IOC,交给容器管理,检查自定义过滤器是否有以@bean、@component、@configuration的形式注入到spring IOC容器,如果有去掉即可。2、自定义过滤器无法@A

2021-08-12 14:31:15 5339 2

原创 SpringBoot+mybatis中<collection>子查询不执行

今天使用mybatis中标签进行子查询时,发现子查询一直没有执行,网上搜了各种方式,都没有方式解决校验了无数次的调用配置,仍然没有解决举个例子: 查询一个home下的房间数<resultMap .............><result column="_name" property="name" />...<collection property="rooms" select="selectRooms" column="{homeId= homeId}" /

2021-03-31 17:27:47 4133 2

原创 linux(CentOS)下安装PyCharm(idea类似方法)

首先去官网下载最新的安装包,地址:官网地址: https://www.jetbrains.com/pycharm/download/#section=linux官网传送门,点一下可以访问我下载的是目前的最新版:pycharm-community-2020.3.tar.gz下载后进入文件夹进行解压操作:$ tar -zxvf pycharm-community-2020.3.tar.gz 解压后的文件内容:# root @ allen in ~/Downloads [15:21:18]

2020-12-14 15:29:36 274

转载 Centos中文ibus开机自动启动问题---解决

Centos中文ibus开机自动启动问题---解决需要在$HOME/.bashrc 添加配置需要在$HOME/.bashrc 添加配置配置内容export GTK_IM_MODULE=ibusexport QT_IM_MODULE=ibusexport XIM_PROGRAM="ibus-daemon"export XMODIFIERS=@im=ibus参考博客:原博客地址...

2020-12-14 15:01:06 785

原创 CONFLICT (modify/delete): The stash entry is kept in case you need it again.

CONFLICT (modify/delete): test.iml deleted in Updated upstream and modified in Stashed changes. Version Stashed changes of saas-generator/saas-generator.iml left in tree at test.iml~Stashed changes. A...

2020-04-24 17:55:46 7701

原创 onsider defining a bean of type 'com.aliyun.oss.OSSClient' in your configuration.

onsider defining a bean of type 'com.aliyun.oss.OSSClient' in your configuration.扫描不到配置文件里配置的bean在配置文件的时候,一直出现扫描不到配置文件夹里面的bean错误信息Description:Field client in com.vocust.service.impl.AliyunCloudStora...

2020-04-15 17:49:06 5872 1

原创 Spring Boot集成MyBatis分页插件_pagehelper

CSDN上搜了很多教程,都比较老,而且不实用,一大堆没用的配置文件,为了解决问题,我来写一篇教程。首先引入很简单,配置很容易,代码入侵量比较低引入依赖:<!--pagehelper--><dependency> <groupId>com.github.pagehelper</groupId> <artifactId&gt...

2019-03-27 19:43:02 350 2

原创 com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known serve

com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server在调试eureka服务器和客户端时,经常会出现这个错误,具体报错信息如下:2019-03-23 14:53:23.041 WARN 58097 — [tbeatExecutor-0] c.n....

2019-03-25 11:41:48 16947

原创 zsh: command not found: gulp

明明安装了gulp却无法使用命令,网上搜索得到答案先是尝试:输入 which gulp输出 gulp not found分析原因:说明gulp的确没有全局安装。全局安装gulp的正确姿势npm install -g gulp如果报错zsh: command not found: npm先安装npm (执行命令: brew install npm(需要安装homebrew))在...

2019-03-16 10:39:00 2535

原创 java.lang.NoClassDefFoundError: org/springframework/cloud/context/named/NamedContextFactory$Specific

报错信息java.lang.NoClassDefFoundError: org/springframework/cloud/context/named/NamedContextFactory$Specificationat java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClass...

2019-03-11 13:44:20 12163

原创 java.sql.SQLException: Access denied for user ‘‘@‘localhost‘ (using password: NO)

搭建springboot项目时遇到的小错误今天在搭建springboot项目时启动项目报错:org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Access denied fo...

2019-03-08 15:59:46 634

原创 Long类型数据传递到前端数据精度丢失问题

在开发页面的时候,遇到Long类型的数据,传送给前端遇到精度丢失的问题,后端发的数据是这个。前端接收到的数据是这样解决的途径有二种:1 、在后端把Long类型的数据改成String类型(不推荐)2、springboot项目可以添加注解:@JsonSerialize(using = ToStringSerializer.class)备注:这里Alibaba提供的提供的工具包...

2018-12-10 17:36:17 3502 2

转载 template might not exist or might not be accessible by any of the configured Template Resolvers

template might not exist or might not be accessible by any of the configured Template Resolvers后端开发人员,在开发前端的时候遇到这个问题,记录一下,以免忘记。错误是:{“timestamp”: 1542883138864,“status”: 500,“error”: “Internal Ser...

2018-11-22 20:32:43 1876

原创 StarUML使用简明教程

最近了解到StarUML比较多,所以写一篇教程供大家参考,不足支持,请见谅。StarUML(简称SU),是一种创建UML类图,生成类图和其他类型的统一建模语言(UML)图表的工具。StarUML是一个开源项目之一发展快、灵活、可扩展性强(zj).StarUML官方下载地址: http://staruml.io/download安装教程: 安装步骤很简单,省略。 注意:付费软件,如需...

2018-08-31 18:45:09 205654 36

服务器操作软件,简单,便捷

支持连接服务器操作的一个工具类,对服务器的操作,上手简单

2018-11-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除