自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 springboot 集成datax

https://app.yinxiang.com/fx/e926ae03-5e37-4251-86cb-c87e017dbb3d

2024-06-19 14:55:24 131

原创 Could not resolve dependencies for project xxx The following artifacts could not be resolved:

问题:Failed to execute goal on project dss-collector-base: Could not resolve dependencies for project com.linkcm:dss-collector-base:jar:1.0: The following artifacts could not be resolved:解决方法:删除对应包里面的 _remote.repositories 文件...

2021-05-28 11:51:59 5757

原创 es6知识列表

es6var/let/constvar没有块级作用域。let有。const指向的对象不能修改,但可以改变对象的内部属性值。const的增强写法1、属性的增强写法const name = ‘me’const age = 18const obj = {name,age}2、函数的增强写法const obj = {run(){}}...

2021-04-24 11:52:26 127

原创 vue知识点列表

vue知识点:mustache语法v-forv-onmvvmvue的options生命周期函数插值语法{ mustache v-once v-html v-text v-pre v-cloak斗篷}v-bind{ :src :href :class(绑定对象、数组) :style(绑定对象、数组)}计算属性computed...

2021-04-22 20:17:33 124

原创 前端vue+axios与后端springboot+security整合

文章目录前言一、依赖导入1、前端引入axios2、后端pom添加security依赖二、自定义WebSecurityConfigurerAdapter类1、创建SecurityConfig类继承WebSecurityConfigurerAdapter1.1允许跨域1.2自定义了用户登录校验和密码加密与校验1.3spring security的认证配置1.4csrf防护配置1.引入库2.读入数据总结前言项目中使用的springboot版本为2.3.8.RELEASE,spring security的版

2021-03-15 15:49:25 1834 1

原创 mybatis-plus 批量导入返回主键id postgresql

1、导入包 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus</artifactId> </dependency> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-

2021-03-06 12:23:54 2751

原创 mybatis报错:Invalid bound statement (not found)

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)解决方案:mapper.xml的namespace要写所映射接口的全称类名。mapper.xml中的每个statement的id要和接口方法的方法名相同mapper.xml中定义的每个sql的parameterType要和接口方法的形参类型相同mapper.xml中定义的每个sql的resultType要和接口方法的返回值的类型相同mapp

2021-03-05 10:53:37 155 1

原创 Linux运行python文件

1、本地运行pip freeze > requirements.txt生成所需要的模块清单2、项目打成zip包上传到Linux服务器3、在Linux运行 unzip 包名 进行解压4、运行 pip3 install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com -r requirements.txt 命令在Linux安装需要的模块5、python3 xx.py 运行...

2020-12-25 16:37:38 713

原创 nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘customCollect’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire f

2020-12-21 14:30:12 8590 1

原创 static方法内使用@Autowired导入的对象

由于static方法内不允许使用非静态的方法,所以在serviceImpl中需要用到Autowired引用的对象时,需要做以下操作: 1、在该类头部添加@Component注解; ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201124183341976.png#pic_center) 2、定义一个静态的类对象; ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201124183909900.png?x-oss-pro.

2020-11-24 19:05:43 1327

原创 项目启动异常-class path resource cannot be resolved to URL becuase is does not exist

class path resource [ config/spring/] cannot be resolved to URL because it does not exist

2020-11-24 11:40:37 1782

原创 项目启动异常-Autowired

Description:Field sysConfig in com.linkcm.dss.core.base.BaseController required a bean of type 'com.linkcm.dss.common.config.SysConfig' that could not be found.The injection point has the following annotations: - @org.springframework.beans.factory....

2020-11-24 11:37:51 182

原创 redis同一个key前后存入不同类型的值报错

redis同一个key前后存入不同类型的值报错:redis.clients.jedis.exceptions.JedisDataException: WRONGTYPE Operation against a key holding the wrong kind of value先删掉旧值再存入

2020-11-20 17:33:15 1063

原创 IDEA设置生成serialVersionUID

IDEA设置生成serialVersionUIDFile–Settings搜索Serializable双击选中对应的类,按alt+enter,选中第一个

2020-08-28 11:44:07 94

原创 使用git遇到的问题

使用git遇到的问题1、克隆或push遇到:the remote end hung up unexpectedly可能是网络慢的原因,增加最低速度、时间。git config --global http.lowSpeedLimit 0git config --global http.lowSpeedTime 999999

2020-08-26 14:09:22 447

空空如也

空空如也

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

TA关注的人

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