contexts quot dbus_contexts directory

No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available

今天在重启springboot时候一直报如上的代码,但是也没有具体的报错信息。很是郁闷。 最后发现有两个:一个是使用@ComponentScan的问题,一个是@MapperScan的问题。@MapperScan 默认是当前目录,我的目录和我引用的dao的目录不同导致的。 2.@Autowire和@R ......

【c&c++】[Error] iostream.h: No such file or directory的解决办法

直接上错误代码实例 #include <iostream.h> int main() { print('hello, world\n') return 0; } 编译通不过,直接出错 这是C语言转C++的两条经典错误 C++中是没有iostream.h这个东西的(或者一般不会这么使用),正确用法是: ......
directory iostream 办法 Error file

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java320 in java.library.path

找到opencv的安装目录 然后将这个 opencv_java320.dll文件复制到java安装目录的bin目录下就可以了 D:\opencv3.20\opencv\build\java\x64 ......

解决go gin框架 binding:"required"`无法接收零值的问题

1、现象: ​ 在go中gin框架中,需要接收前端参数时,参数必填,我们一般添加binding:"required"`标签,这样前端参数不给时,gin框架会自动校验,给出error。 ​ gin的参数校验是基于validator的,如果给了required标签,则不能传入零值,比如字符串的不能传入空 ......
quot 框架 required binding 问题

[vite]: Rollup failed to resolve import "APlayer" from "./APlayer/index.vue".This is most likely unintended because it can break your application at runtime.

这个错误提示是在你使用 Vite 构建项目时遇到的。 错误信息提示 Rollup 在构建过程中无法解析 import "APlayer",而且这很可能会在运行时破坏你的应用程序。这个问题的原因是,APlayer 并不是一个模块,没有被正确地导出到你的项目中。 为了解决这个问题,你需要告诉 Rollu ......
quot APlayer application unintended because

Linux 删除 No such file or directory

-rw-rw-r-- 1 apps apps 35859 Apr 23 17:10 weblogicdate +%Y%m%d%H%M.log [apps@anvx-8-90 logs]$ rm weblogicdate +%Y%m%d%H%M.log rm: cannot remove ‘weblo ......
directory Linux such file No

Rollup failed to resolve import "vue-demi" from

1、背景: vue3 + vite + ts 的一个项目打包的时候报错了 2、报错截图 3、引入截图 4、修改引入 vue-demi -> vue 5、结果 可以正常打包啦~~ ......
quot vue-demi resolve Rollup failed

Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable"

背景: 某日,一正常项目迁移到新的服务器 新的服务器,需要使用代理来访问之前能直接访问的接口,加完代理之后,发现无法获取数据了 报错: org.springframework.web.client.ResourceAccessException: I/O error on GET request f ......
quot Unavailable Service through returns

其他--解封垃圾CSDN的"关注博主即可阅读"限制

问题缘由 其实遇到好博主和好文章,点赞关注是大部分人的基本操作,但不要脸的CSDN为了广告收入强制让用户登录和用户关注的事情太恶心,CSDN真的是中国互联网的耻辱。 解除限制 以Chrome浏览器为例,在"书签" ==> "书签管理器" ==> "新增书签"下设置 JavaScript: (func ......
quot 垃圾 CSDN

go语言context.Context

go语言context.Context context 是 Golang 从 1.7 版本引入的一个标准库。它使得一个request范围内所有goroutine运行时的取消可以得到有效的控制。当最上层的 goroutine 因为某些原因执行失败时,下层的 Goroutine 由于没有接收到这个信号所 ......
context Context 语言

mybatis-plus使用聚合函数报错---------net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "**" "**"

错误日志: Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "with" "WITH" at line 62, column 20. Was expecting one of: "&" ......

VUE3 里面使用 vuedraggable 兼容tag="transition"的问题

vue3的拖拽tag="transition"报的错误 TypeError: Cannot set properties of null (setting '__draggable_context') 安装拖拽的时候,使用命令 yarn add @marshallswain/vuedraggable ......
quot vuedraggable transition 问题 VUE3

supersocket新的配置属性 "textEncoding"

supersocket新的配置属性 "textEncoding" 在 SuperSocket 1.6 之前的版本, 当你通过Session对象发送文本时, 将文本信息转换成能够通过Socket传输的二进制数据的默认编码是UTF8。 你可以通过设置 Session 的 Charset 属性来修改这个编 ......
quot textEncoding supersocket 属性

vue-router解决警告:No match found for location with path "XXXXXXX"

使用vue-router时,在刷新页面时往往会出现这个警告: 这个问题产生的原因往往是因为vue在启动时,会校验当前页面的路由,而我们使用vue-router时,是在导航守卫中动态添加路由的,因此肯定找不到,而这个时候还没进入守卫,自然就会抛出这个警告了: 1、app.use(router) 2、r ......
quot vue-router location XXXXXXX router

Invalid prop: type check failed for prop "defaultExpandAll". Expected Boolean, got String with value "true".

vue中使用element-ui 报错如下,defaultExpandAll 关键词页面也搜不到 [Vue warn]: Invalid prop: type check failed for prop "defaultExpandAll". Expected Boolean, got String ......
quot prop defaultExpandAll Expected Invalid

安装torch报错ERROR: torch has an invalid wheel, .dist-info directory not found

要搭建一篇论文算法的环境,根据yaml文档提供的安装包利用conda进行安装,出现了以上问题,尝试 pip install torch==1.7.0 -f https://download.pytorch.org/whl/torch_stable.html 成功安装 问题原因:之前更换了国内清华源, ......
torch dist-info directory invalid ERROR

nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) 已经在 LIBCMT.lib(new.obj) 中定义

在封装非MFC环境的静态库时调用了依赖MFC环境的静态库时编译测试程序报错如下: nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) 已经在 LIBCMT ......
quot lib obj new operator

HTML input type="number" 隐藏默认的步进箭头

HTML input type="number" 隐藏默认的步进箭头 number 类型的 <input> 元素用于让用户输入一个数字,其包括内置验证以拒绝非数字输入。 浏览器可能会选择提供步进箭头,让用户可以使用鼠标增加和减少输入的值,或者只需用指尖敲击即可。但有些场景需要隐藏默认的步进箭头。 要 ......
箭头 quot number input HTML

运算符重载"+""-""*"“<<”">>"

一、问题描述。 设计一个描述三维坐标的向量类vector3D,成员如下:数据成员:三个坐标x,y,z,float类型,私有访问属性公有函数成员:三个参数均有默认值的构造函数,默认值为0,0,0;重载输入输出运算符,输出格式为(x, y, z);重载加法+、减法-、数乘*(乘数在前,乘数为float类 ......
quot 运算符 lt gt

k8s context & kubeconfig

##k8s context & kubeconfig ###context 在 Kubernetes 中,一个 "context" 是一个包含了一组集群、用户和命名空间的命名集合。kubectl context 命令用于管理这些上下文,并允许你在不同的 Kubernetes 集群之间切换,或者使用不 ......
kubeconfig context k8s amp k8

Git提交时提示The file will have its original line endings in your working directory的解决方法

同事新建了一个仓库,git add的时候总是会提示 warning: LF will be replaced by CRLF in public/tinymce/README.md.The file will have its original line endings in your workin ......
directory original endings working 方法

gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory

01、安装 HTSeq软件出现如下报错,编译失败 02、原因是没有c++编译器,解决方法: apt install g++ ## 安装c++编译器 03、再次安装HTseq,报错消失。 ......
directory cc1plus execute cannot execvp

vue3微信公众号商城项目实战系列(11)"我的"页面

我的页面效果如下: Mine.vue 页面代码如下: 布局块代码: 1 <template> 2 <div class="mine"> 3 4 <div class="mine-top"> 5 <img src="/mine.png" /><br /> 6 <span class="mine-top ......
quot 实战 公众 页面 商城

org.springframework.boot.test.context.SpringBootTestContextBootstrap问题的解决

问题描述 使用spring测试类测试数据库是否成功连接时,出现了这样一个错误,还是第一行欸!挫败感太强了! 问题解决 检查了之后,发现我是有将依赖导入进去的,但是他显示不存在,那我就试着用之前的经验去解决这件事,将已经导入的依赖加入到library里面,就直接解决啦! ......

"go修养之路" 总结

I/O操作 所有对流的操作都称之为I/O操作 当流没有数据read时或者流已经满了无法在write时,会出现阻塞现象 阻塞场景:一段流中wirte端写入数据时,read端读取。wirte端无数据时read端会阻塞等待直到有数据,但是在多个wirte端同时写入时会互斥也是说同一时刻read端只能处理一 ......
quot 修养 go

python当中的""和None,记一次小坑

在模型类当中,比如定义了,可以传入空值: class Person(models.Model): name = models.CharField(verbose_name='姓名',max_length=32) age= models.IntegerField(verbose_name='年龄',b ......
小坑 quot python None

SET QUOTED_IDENTIFIER

SQL SERVER的联机丛书的解释:“当 SET QUOTED_IDENTIFIER 为 ON 时,标识符可以由双引号分隔,而文字必须由单引号分隔。当 SET QUOTED_IDENTIFIER 为 OFF 时,标识符不可加引号,且必须遵守所有 Transact-SQL 标识符规则。”先说说什么是 ......
QUOTED_IDENTIFIER IDENTIFIER QUOTED SET

"xhr.upload.addEventListener is not a function" 错误

"xhr.upload.addEventListener is not a function" 错误 在前端开发中,如果您遇到了 "xhr.upload.addEventListener is not a function" 错误,通常是由于以下原因之一: 您将事件监听程序添加到错误的对象上。 您正 ......
quot addEventListener function 错误 upload

内存屏障--- asm volatile("" ::: "memory")

转载:(14条消息) 内存屏障 asm volatile("" ::: "memory")_"asm(:::\"memory\")"_咕噜咕噜斯基的博客-CSDN博客 Compiler memory barrierThese barriers prevent a compiler from reor ......
quot 屏障 volatile 内存 memory

Vue 登录login post请求 security UserDetailsService 获取参数为""

背景 原请求将数据放到params中,导致数据拼接在请求地址后面,具有高级安全隐患。 请求方法: axios.request({ url: '/login', method: 'post', params: { username: '****', password: '****' } }) 出现的问 ......