- 博客(35)
- 问答 (1)
- 收藏
- 关注
原创 spring boot “error“: “Not Found“
spring boot 成功插入数据,但放回"error": "Not Found"
2024-05-04 15:37:31
988
原创 EISDIR: illegal operation on a directory, read
EISDIR: illegal operation on a directory, read,我的问题是由于vite.config.js导致的。
2023-05-15 20:21:52
13131
2
原创 element-plus/icons-vue图标不显示
其他图标都正常显示了,但唯独search图标不显示,我再往下看原来,我定义了一个变量也叫search。把这个变量search给删除就可以了,代码显示如下被圈的部分。图标没显示的情况有好几种,但我今天遇到的这个情况还是让我想拍拍脑袋瓜的。此下图为自己定义的变量。
2023-04-15 05:20:38
474
原创 JdbcTokenRepositoryImpl没有setDataSource()方法
JdbcTokenRepositoryImpl没有setDataSource()方法
2022-08-12 13:53:40
521
原创 : The term ‘‘ is not recognized as the name of a cmdlet, function, script file
可执行程序执行时问题及命令执行时问题
2022-07-08 01:52:12
12257
原创 check the manual that corresponds to your MySQL server
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 8在B站跟了一个视频,报了如下的错误,目前还没找到原因!发愁啊,执行结果给我一个大大的惊喜。出啥子错呢,憋屈啊,技术不行。好了大半天的时间。报错结果如下1064 - You have an erro
2022-05-18 20:17:49
389
原创 Mybatis plus修改成功,但返回结果确实500,修改失败,的一个小小原因
Mybatis plus修改成功,但返回结果确实500,修改失败,的一个小小原因——粗心。原先代码 @ApiOperation(value = "更新职位信息") @PutMapping("/") public RespBean updatePosition(@RequestBody Position position){ if (positionService.updateById(position)){ RespBean.success(
2022-05-11 11:17:41
478
原创 Java反射机制的一个小示例
目录结构Userpackage com.xiao.entity;/** * @author * @version 1.0 * @date 5/8/2022 12:56 PM */public class User {}父类package com.xiao;import java.lang.reflect.ParameterizedType;import java.lang.reflect.Type;/** * @author * @version 1.0 *
2022-05-08 22:31:29
260
原创 Non-static method ‘insert(T)‘ cannot be referenced from a static context
Non-static method ‘insert(T)’ cannot be referenced from a static context第一次使用mybatisplus进行插入数据,结果报了个错误,挺纳闷的,不应该吧!咋就会错误呢!错误如下也如标题所示。Non-static method ‘insert(T)’ cannot be referenced from a static context目前还没找到解决的办法,先记录下来吧!...
2022-05-04 12:32:36
772
2
原创 error:03000086:digital envelope routines::initialization error
解决办法1,配置 node 选项–openssl-legacy-providerwindows 环境下set NODE_OPTIONS=--openssl-legacy-providermac 或者 linux 环境下export NODE_OPTIONS=--openssl-legacy-provider2.降级 nodejs 版本到 16.x 以及以下版本使用nvmnvm install 16.13.0对于不太熟悉node的我,不知道要在哪修改,后面看到一下文章,突然想到,是否可
2022-04-24 21:17:10
13720
原创 Mybatis plus代码生成器
1.交互生成package com.company.codeGen;import com.baomidou.mybatisplus.core.mapper.BaseMapper;import com.baomidou.mybatisplus.generator.FastAutoGenerator;import com.baomidou.mybatisplus.generator.config.OutputFile;import com.baomidou.mybatisplus.generator
2022-04-21 19:05:08
496
原创 SpringBoot启动类
SpringBoot启动类package com.kmu.archives.system;import lombok.extern.slf4j.Slf4j;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.context.ConfigurableApplica
2022-04-21 17:44:14
3002
原创 vue3.0+ts安装svg插件
vue3.0+ts安装svg插件1.安装 vsg插件npm i svg-sprite-loader --save或国内cnpm i svg-sprite-loader --save或目录2.components/svgIcon/index.vue<template> <svg :class="svgClass" aria-hidden="true"> <use :xlink:href="iconName"></use> &l
2022-03-22 22:17:39
1109
1
原创 Cannot resolve method ‘setAsc(boolean)‘
Cannot resolve method ‘setAsc(boolean)’考虑换版本原先版本号:<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4.3.2</version>&l
2021-10-19 11:35:55
289
原创 2021-10-19
Non-static method ‘getList()’ cannot be referenced from a static context注入一个接口后是否,注意大小写,若将首字母写成跟接口类的名称一样,也有可能会报出这个错误,建议还是要按规范来写;注意规范,提升你的开发效率,要不然你要一直找bug,小小建议,望您采纳!...
2021-10-19 10:55:26
146
1
原创 idea开启RunDashBoard
idea开启RunDashBoard1.如果没有看见.idea目录,请按如下步骤打开1).将所圈的勾起,就可以看到.idea目录,2).下面有个workspace.xml文件,将其打开,3).复制如下代码,将代码放在最后的位置并保存。保存后代码会自动调换位置。不用管它 <component name="RunDashboard"> <option name="configurationTypes"> <set> <o
2021-10-18 09:58:58
117
原创 java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList org.springframework.context.Applicatio
java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat C
2021-08-07 20:46:21
1065
原创 org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘configuratio
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘configurationPropertiesBeans’ defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Post-proc
2021-08-07 20:10:01
467
原创 Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘User‘
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘User’. Cause: java.lang.ClassNotFoundException: Cannot find class: User分析如下:Error parsing Mapper XML. The XML location is 'file [E:\zx183\SoftwareDev\WorkSpace\IdeaProjects\b
2021-08-07 14:34:12
2255
原创 2021-08-06
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘logAspectHandler’: Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.brex.course01.utils.LogAspectHa
2021-08-06 20:27:41
382
原创 elasticsearch的安装、 IK分词器安装,及 IK分词器安装之后无法启动容器的问题
安装 IK分词器安装,之后查询启动容器,无法启动的问题1.查看容器中是否有jdk,跟安装在Linux中的方法相似,docker差不多就一个虚拟机吧!反正它就是有自己的一方小世界2.注意启动的方式,启动的不是镜像,而是容器,一定要记得容器id,建议使用容器id启动容器docker安装elasticsearch...
2021-08-01 22:11:30
556
原创 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.lis
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome错误提示如下:Reading package lists... DoneW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.lis
2021-07-10 18:23:03
4930
2
原创 2021-07-09
/usr/bin/ld: /tmp/ccBYHb6O.o: in function __static_initialization_and_destruction_0(int, int)': test1.cpp:(.text+0x44): undefined reference tostd::ios_base::Init::Init()’ /usr/bin/ld: test1.cpp:(.text+0x59): undefined reference to `std::ios_base::Init::~In
2021-07-09 16:42:44
264
原创 2021-06-28
Failed to bind properties under ‘logging.level’ tojava.util.Map<java.lang.String, org.springframework.boot.logging.LogLevel>:Reason: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [ja
2021-06-28 10:00:37
488
1
原创 2021-06-18
**$ ssh -T git@gitee.com The authenticity of host ‘gitee.com (xxx.xx.xx.xxx)’ can’t be established. xxxxx key fingerprint is xxxxxx:+xxxxxxxxx/xxxxxxxxx. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[finger
2021-06-18 14:41:31
1314
原创 Could not find satisfiable constructor in org.eclipse.epp.internal.logging.aeri.ide.notifications
Could not find satisfiable constructor in org.eclipse.epp.internal.logging.aeri.ide.notifications.MylynNotificationsSupport删掉插件或者从新安装Free Marker IDE1.希望能帮到你
2021-06-04 09:06:23
1705
原创 2021-05-22
Exception in thread “main” java.lang.NullPointerException: Cannot invoke “com.itheima.annotation.UserService.save()” because “this.userService” is null再好好看配置文件吧!我的是缺少了这几样东西我解决了,记录每一天的错误!我希望能帮到各位刚入门的人,嘿!大家一起努力吧!...
2021-05-22 13:57:05
1006
1
原创 Project build error: Non-resolvable parent POM for com.it.breakx:SpringBootAop:0.0.1-SNAPSHOT
Project build error: Non-resolvable parent POM for com.it.breakx:SpringBootAop:0.0.1-SNAPSHOT: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:2.0.4 in https://maven.aliyun.com/repository/public was cached in the local repository, r
2021-04-25 22:03:08
584
原创 Missing artifact org.openjfx:javafx.base:jar:11.0.0-SNAPSHOT
Missing artifact org.openjfx:javafx.base:jar:11.0.0-SNAPSHOT可能是版本问题,我更改了版本之后就没问题了,若是练手的,建议使用最新的版本,具体如下1.去官网复制一个报错这是没有添加parent之前的org.springframework.bootspring-boot-starter-parent添加之后就????了......
2021-04-08 13:39:38
1061
原创 Cannot commit, transaction is already closed
##mybatisorg.apache.ibatis.exceptions.PersistenceException:Error committing transaction. Cause: org.apache.ibatis.executor.ExecutorException: Cannot commit, transaction is already closedCause: org.apache.ibatis.executor.ExecutorException: Cannot commit
2021-03-07 19:56:52
1729
1
原创 java.lang.AssertionError: Not yet implemented
java.lang.AssertionError: Not yet implemented这是项目来源,maven的简单测试https://blog.youkuaiyun.com/u011541946/article/details/78112446去掉fail(“Not yet implemented”); 就ok了
2021-03-03 18:38:07
1615
2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人