to do

java.lang.ClassCastException: com.alibaba.fastjson2.JSONArray cannot be cast to java.lang.String的解决

是这样的,今天跟着写springboot项目的时候,前端登录的时候报403错误。检查了半天,是后端的问题 报错代码: 第二句 报错提示如下 说是JSONArray不能转String,但我这也不是JSONArry转String而是Object转String啊。 网上搜了半天,用了好多种方法也没什么用 ......

Vue computed property values was assigned to but it has no setter

vue 文件中的核心代码写法 <template> <div> <v-select :items="filters" label="查询条件" solo dense class="select-size" v-model="filterKey" clearable ></v-select> </di ......
computed assigned property values setter

unable to find valid certification path to requested target

发生这种情况时, 很有可能与证书无关,而是某个第三方类库获取不到了 我的解决方案,找到原版本的AAR文件放到工程的LIBs目录中,引用到工程中 unable to find valid certification path to requested target 最新解决方案(更新于2023-04- ......
certification requested unable target valid

SpringBoot连接Redis失败报错:Unable to connect to Redis; (小白篇)

学习redis一段时间了,现在开始使用springboot整合redis,实现Java与redis数据库的连接与一系列的使用。 但刚开始就给我来了个下马威,直接寄,连接不上redis,在swagger的报错如下: **Unable to connect to Redis; nested except ......
Redis SpringBoot connect Unable to

expected one result (or null) to be returned by selectone(), but found: 5

以下是我的 mapper 文件的内容,是一个一对多查询。但是查询结果的 Book 映射不是一个,并且不能映射正确。 ```xml ``` 我开启了 resultMap 自动映射,所以 collection 和 resultMap 第一层都没有任何子标签。但问题就出在这里,就是因为我的主表,即 Boo ......
selectone expected returned result found

springboot项目启动访问任何html页面报类型转换错误:Failed to convert value of type...

问题: 2023-05-30T21:35:57.495+08:00 WARN 19900 [nio-8080-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.ann ......
springboot 错误 convert 类型 页面

ERESOLVE unable to resolve dependency tree

错误描述: ![https://cdn.nlark.com/yuque/0/2023/png/36063550/1685444671488-c4c7e7f2-2f48-4e2d-8fc2-f28cc1504667.png](https://cdn.nlark.com/yuque/0/2023/png ......
dependency ERESOLVE resolve unable tree

【随手记录】Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

链接数据库报错 Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 出现这个问题基本是数据库的方言 dialect 或者驱动 driver_class有问题,可以确认下diale ......

How to use the shell command to get the version of Linux Distributions All In One

How to use the shell command to get the version of Linux Distributions All In One 如何使用 shell 命令获取 Linux 发行版的版本 hostnamectl cat /etc/os-release lsb_rel... ......
Distributions the command version shell

com.gitHub.pageHelper.PageHelper cannot be cast to org.apache.ibatis.pluin.Interceptor

可能是因为版本冲突问题PageHelper5之前与之后是配置文件有发生变化,下面这个是使用pageHelper5.1.18jar包导入。使用PageHelper分页插件(使用spring+分页插件的方式)结果忘记把mybatis的分页插件和依赖去除,结果导致排错很久(怀疑是版本冲突的问题)附上正确用 ......

【Oracle】Clean all objects belong to particular the user but not using drop user xxx cascade

# -- WX:DBAJOE399 -- DEST_SCHEMA=Expected_user_name sqlplus / as sysdba << !EOF set serveroutput on set echo off set feedback off WHENEVER SQLERROR EX ......
user particular objects cascade Oracle

OpenCV 和 TensorRT 之间的数据转换 HWC to CHW

TensorRT做图像相关模型部署的时候,导入图片的数据存储往往是BHWC(Batch, Height, Width, Channel), 而TensorRT推理的时候是BCHW. OpenCV 和 TensorRT 之间的数据转换(BHWC to BCHW),一般是所有元素遍历赋值: cv::Ma ......
TensorRT 之间 数据 OpenCV HWC

flutter开发Nuget.exe not found, trying to download or use cached version解决方法

问题:Nuget.exe not found, trying to download or use cached version 解决方法: 1. 首先确保Visual Studio安装,这个是flutter构建Window应用必须的,并且安装了对应的Windows SDK,通过Visual Stu ......
download flutter version 方法 cached

【Oracle】Resize your Oracle datafiles down to the minimum without ORA-03297

--In non-multitenant DB set linesize 1000 pagesize 0 feedback off trimspool on with hwm as ( -- get highest block id from each datafiles ( from x$ktfb ......
Oracle datafiles minimum without Resize

An attempt has been made to start a new process before the current process has finished its bootstrapping phase.

Traceback (most recent call last): File "<string>", line 1, in <module> File "E:\Eprogramfiles\Anaconda3\lib\multiprocessing\spawn.py", line 116, in s ......
process bootstrapping has finished attempt

Generative AI 新世界 | 走进文生图(Text-to-Image)领域

在之前的四篇 “Generative AI 新世界” 中,我们带领大家一起探索了生成式 AI(Generative AI),以及大型语言模型(LLMs)的全新世界概览。并在文本生成(Text Generation)领域做了一些概述、相关论文解读、以及在亚马逊云科技的落地实践和动手实验。 亚马逊云科技 ......
Text-to-Image Generative 领域 Image Text

关于创建endpoint报错-Enabling private DNS requires both enableDnsSupport and enableDnsHostnames VPC attributes set to true for vpc-xxxx

今天在为某个vpc创建endpoint时(com.amazonaws.cn-northwest-1.ssm的Interface类型)时报如下错误及提示 Enabling private DNS requires both enableDnsSupport and enableDnsHostnames ......

Python使用to_csv导出文件时参数注意事项

使用to_csv导出文件时,一定要指定index参数和encoding参数这两个参数; index参数:默认为True,会添加一列标记数据索引。 encoding参数:如果不指定utf_8_sig,使用默认参数值,则导出的文件可能会有乱码或串列。 cake_data.to_csv(r"C:\E\da ......
注意事项 事项 参数 文件 Python

linux - 报错 Another app is currently holding the yum lock; waiting for it to exit... -解决

报错截图 执行指令 rm -f /var/run/yum.pid 然后再执行需要的指令即可 ......
currently Another holding waiting linux

To do list

[toc] # 导言 干脆把 To do list 也放到这里了。督促自己学习。很菜。轻喷。 # 2023 May ## 2023.5.29 Mon - 1 速通电学 https://www.bilibili.com/video/BV13J411F7gk - 2 dp练习0x10 https://w ......
list To do

Burp Suite Error The client failed to negotiate a TLS connection to chrome.google.com: 443: Received fatal alert: certificate_unknown

Burp Suite Error The client failed to negotiate a TLS connection to chrome.google.com: 443: Received fatal alert: certificate_unknown http://burpsuite ......

[论文速览] MAGE@MAsked Generative Encoder to Unify Representation Learning and Image Synthesis

## Pre title: MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesis accepted: CVPR2023 paper: https://arxiv.org/abs/221 ......

解决 Failed to connect to github.com port 443:connection timed out

晕了,今天不知道怎么出现了这个问题 ``` git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 ``` 问题得到解决 取消代理 ``` g ......
connection connect Failed github timed

python -- 解决连接sqlserver出现的“ pymssql._pymssql.OperationalError: (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist”问题

因为工作关系,近期需要用python连接sqlserver处理一些数据问题。 由于笔记本上的软件是新安装的,所以有些配置避免不了重新设置,期间遇到一些小问题,记录一下。 下面正式开始 写一段代码,测试sqlserver数据库连接 import pymssql # 写法1# conn = pymssq ......

do-while循环格式

package com.karl; public class doWhileDemo { public static void main(String[] args) { /** * do-while循环格式 * do{ * 循环语句; * 迭代语句; * }while(循环条件); * * * * ......
do-while 格式 while do

动态路由 出现 for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.

for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to sup ......
import this 路由 vite-ignore supported

How to boot the Raspberry Pi system from a USB Mass Storage Device All In One

How to boot the Raspberry Pi system from a USB Mass Storage Device All In One 如何从 USB 启动树莓派引导系统 / 如何从 USB 大容量存储设备启动 Raspberry Pi 系统 ......
Raspberry Storage Device system boot

Webpack and Babel — What are they, and how to use them with React

摘抄自:https://medium.com/@agzuniverse/webpack-and-babel-what-are-they-and-how-to-use-them-with-react-5807afc82ca8 Webpack and Babel — Tools we can’t cod ......
and Webpack Babel React What

org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp

``` org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp System.out canno ......
JasperException jsp occurred compile apache

How to Control an External USB Web Camera Using a Raspberry Pi All In One

How to Control an External USB Web Camera Using a Raspberry Pi All In One 如何使用树莓派控制外接 USB 网络摄像头 ......
Raspberry External Control Camera Using