modulenotfounderror module named 39

使用nacos配置,启动服务时一直报 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. APPLICATION FAILED TO START

报错日志如下: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.-2023-05-05 09:46:02.328 [TID ......

使用nacos配置无效,原因:项目中 gateway服务配置的 application的name:@artifactId@ 和nacos上配置的DataID 不一致导致

遇到一个问题,项目启动后一致无法正常登陆进入后端,登陆时一直报错返回null,排查后发现是自己粗心,项目中 gateway服务配置的 application的name:@artifactId@ 和nacos上配置的DataID 不一致导致 如图,修改前: 本地登录时: 本地项目配置-使用默认的项目的 ......

浅谈(0,eval)('window')

浅谈(0,eval)('window') 最近研究qiankun 源码,在import-html-entry 包中看到这个,一脸懵,研究了一下,记录一下。参考了这篇博客 这个干啥用的 // 通过这种方式获取全局 window,因为 script 也是在全局作用域下运行的,所以我们通过 window. ......
window eval 39

AttributeError: module 'dgl.function' has no attribute 'copy_src'

报错: AttributeError: module 'dgl.function' has no attribute 'copy_src' 错误解析: copy_src(来源,输出)使用源节点功能计算消息的内置消息函数。 这个函数在包里面没有,本应该是有这个功能函数的 解决方法: 自己构造一个对应的 ......

Error creating bean with name ‘dataSource‘ defined in class path resource解决办法

原因是导入了jdbc的依赖,使用@Configuration注解向spring注入了dataSource bean。 但是因为工程中没有关于dataSource相关的配置信息,当spring创建dataSource bean因缺少相关的信息就会报错。 有两个办法: 办法1: 去除spring-boo ......
dataSource creating resource defined 办法

Error:All flavors must now belong to a named flavor dimension. Learn more at

{ https://blog.csdn.net/qq_15807167/article/details/79528063 } 这是plugin 3.0.0之后有一种自动匹配消耗库的机制,便于debug variant 自动消耗一个库,然后就是必须要所有的flavor 都属于同一个维 defaultC ......
dimension flavors belong flavor Error

The plugin distribution bundles IDE packages 'com.intellij.uiDesigner.core',

错误描述: The plugin distribution bundles IDE packages 'com.intellij.uiDesigner.core', 'com.intellij.uiDesigner'. Bundling IDE packages is considered bad ......

日程报告39

代码时间(包括上课):6h 代码量(行):0 博客数(篇):1 今天在课堂上了解到preparestatement和statement的区别 preparestatement 可以接受参数,例如新增数据的SQL语句中新增内容可以用?代替 但是statement中SQL语句中新增内容需要用具体内容,注 ......
日程 报告

mysql8.0 使用navicat报caching_sha2_password' cannot be loaded解决方法

安装 8.0版本的mysql后,使用navicat连接时,报caching_sha2_password' cannot be loaded的异常。 原因为:8.0版本的mysq用户密码加密方式为caching_sha2_password,navicat暂不支持,需要修改下mysql的加密方式。 解决 ......
caching_sha password caching navicat 方法

mv: cannot move '/usr/local/lib/R/site-library/00LOCK-Biobase/00new/Biobase' to '/usr/local/lib/R/site-library/Biobase': Permission denied

01、安装Biobase 包的时候遇到如下问题 mv: cannot move '/usr/local/lib/R/site-library/00LOCK-Biobase/00new/Biobase' to '/usr/local/lib/R/site-library/Biobase': Permi ......
Biobase site-library library local 39

VeriSilicon's Vivante® Neural Network Processor (NPU) IP

高度可扩展、可编程的计算机视觉和人工智能处理器 芯原Vivante的神经网络处理器 (NPU) IP是高度可扩展、可编程的计算机视觉和人工智能处理器,支持终端、边缘端及云端设备的人工智能运算升级。Vivante NPU IP可满足多种芯片尺寸和功耗预算,是具成本效益的优质神经网络加速引擎解决方案。 ......
VeriSilicon Processor Network Vivante Neural

node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module

#终端运行.js文件, 之后又报错了, node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module 'xxx.js' ##解决方法 ###第一步,Ctrl+D删除依赖包 ###第二步,重新使用淘宝镜像下载删 ......
internal modules Cannot loader module

Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded data

导入一个新的springboot maven项目启动一直报这个错,查出来的答案都说是加注解把数据库扫描给排除掉,这种方式其实有点鸵鸟,项目原先是没问题的,现在导入到自己的环境启动不起来,那肯定是不能去改动代码的。 排查了一遍,发现是项目中的resources文件没有指定成资源文件,所以找不到数据库的 ......

npm命令报错:error Unexpected token '.'; error A complete log of this run can be found in:

如果你的npm报错是这样的 error Unexpected token '.' error A complete log of this run can be found in: 并且你你尝试过了网上各种方法不得行。那么会不会是管控版本vnm的问题呢? 弄了一早上不得行;最后尝试了下nvm版本。 ......
error Unexpected complete 命令 found

Access to XMLHttpRequest at 'file:///xxx/%C3%A7%C2%9C' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes:

Access to XMLHttpRequest at 'file:///xxx/%C3%A7%C2%9C' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported fo ......
origin 39 XMLHttpRequest supported requests

Java关于Resource leak: 'sc' is never closed的问题

问题:编写Java时出现了Resource leak: 'sc' is never closed的问题,也就是对象sc下面的波浪线产生的警告,鼠标放上去之后就可以知道详情。 原因:Scanner sc = new Scanner(System.in)申明了名为s的数据输入扫描仪(Scanner),系 ......
Resource closed 问题 never Java

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 2198: invalid start byte

这个错误通常出现在使用 utf-8 编码解码包含非法字节(invalid byte sequence)的字符串时。 在 utf-8 编码中,每个字符的编码用一个或多个字节表示,如果字节序列不符合 utf-8 编码规则,则会引发 UnicodeDecodeError 异常。 要解决这个问题,可以尝试使 ......
UnicodeDecodeError byte 39 position invalid

sed -i 's/^ko://' eggnog.KO.raw.txt

这个命令是在linux系统中运行的sed命令,用于编辑文件 eggnog.ko.raw.txt,其中的-i选项表示直接修改原文件。该命令匹配每一行的开始位置(^)后面跟着"ko:"字符串的内容,并将其替换为空字符串,即删除该字符串。 在宏基因组分析过程中,可能需要对原始数据文件进行预处理和清洗,比如 ......
eggnog 39 sed raw txt

fatal: unable to access 'xxx': Failed to connect to 127.0.0.1 port xxx: Connection refused

Git 拉取Gitee仓库报错:“fatal: unable to access 'xxx': Failed to connect to 127.0.0.1 port xxx: Connection refused” 之前使用了代理导致git访问错乱 1.本地查看是否Git使用了代理 git con ......
Connection xxx to connect refused

Python报错:Can't connect to HTTPS URL because the SSL module is not available

参考文章:(32条消息) Can‘t connect to HTTPS URL because the SSL module is not available - 关于anaconda中的SSL模块错误_anaconda https报错_Sky_Tree_Delivery的博客-CSDN博客 具体操 ......
available connect because Python module

QA|linux指令awk '{print $(NF-1)}'为啥用单引号而不是双引号?|linux

linux指令awk '{print $(NF-1)}'为啥用单引号而不是双引号? 我的理解: 因为单引号不对会内容进行转义,而双引号会,举个栗子 1 a=1 2 echo "$a" # 结果是1 3 echo '$a' # 结果是$a 而awk相当于调用了linux内部函数,封装好的,此时他需要传 ......
引号 linux 指令 print 39

ENOENT: no such file or directory, open 'D:\Idea lorkSpacecjccx-ui\package.json'

启动项目报找不到package.json 找到你项目的package.json的路径 然后cd 这个路径 然后就解决了 ......

github报错Failed to connect to github.com port 443 after 21313 ms: Couldn't connect to server

github报错Failed to connect to github.com port 443 after 21313 ms: Couldn't connect to server 网络连接问题,我开vpn了。 github报错 Recv failure: Connection was reset ......
connect github to Failed Couldn

解决上传md文件时出现的“<Fault 401: '请配置正确的用户名与访问令牌(access token), 密码登录已取消,请在密码框中输入请访问令牌, 在博客后台获取访问令牌 https://i.cnblogs.com/settings#enableServiceAccess'>”问题

使用的工具:pycnbolg 下载地址: https://github.com/dongfanger/pycnblog 具体操作按这位大神的博客:如何在博客园上传markdown文件 - NotYourferry - 博客园 (cnblogs.com) 出现报错如图: 偶然看到这两位的评论: 于是我 ......

Goland 报错 build xxx: cannot find module for path xxx

很久没用上go了,今天建一个小项目练习下面试题结果遇到个小问题,还好几年前就遇到了这种问题,记录过解决办法,这次又遇到了就再仔细记录一下,也帮助遇到问题的小白们。 问题本身是:main.go里面文件引用本项目的其他包,虽然成功,但编译不过 解决方法 1.创建一个go.mod文件,里面添加module ......
xxx Goland cannot module build

profile.ps1 : 无法使用点 '.' 获得此命令来源,因为该命令是在不同语言模式下定 义的。要调用此命令而不导入其内容,请忽略 '.' 运算符。

使用自定义的PowerShell配置文件(所有用户,所有主机的情况下): 打开PowerShell提示: C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1 : 无法使用点 '.' 获得此命令来源,因为该命令是在不同语言模式下定 义的。要调用 ......
命令 运算符 39 来源 profile

2) Chernoff bound, Hoeffding's Lemma, Hoeffding's inequality

防盗 https://www.cnblogs.com/setdong/p/17370017.html 1. Chernoff bound (切尔诺夫限) Given a random variable (r.v.) $X$ and $\epsilon>0$, for any $t>0$ the fo ......
Hoeffding inequality Chernoff bound Lemma

Ruby安装错误:in `encode': U+00CD to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)

解决方法: 去本地路径下修改编码,这么提示是因为编码不一致导致的。 修改registry 文件中的编码: 修改后就没有问题了。 来源:https://www.cnblogs.com/py-tiger/p/5372258.html ......

HJ39 判断两个IP是否属于同一子网

采用位与运算,判断IP是否在同一子网。为了简化,把四段二进制,转化为一段二进制,进行与运算判断。因为不管是四段二进制或一段二进制最终判断结果都是看其网络地址是否相同。 这里的IP地址合法性判断较为简洁,只要在0-255内均为合法。 掩码判断为前一段是1,后一段是0不可0,1穿插。 1 ''' 2 测 ......
两个 HJ 39

Codeforces 914H - Ember and Storm's Tree Game(计数)

我这个低能儿怎么这个题调了这么久啊,废了/dk 非常烦的做法,不过也可以看看,代码也不算太难写( 首先注意到很诈骗的一件事情是,只要这个序列 $a$ 是单峰的或者单谷的(当然,递增递减序列也算在内),都恰有两种方式选择 $(i,op)$ 使得操作完后的序列的单调的,并且显然选树的 Ember 有必胜 ......
Codeforces Ember Storm 914H Game