required integer could found

关于创建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 ......

java.lang.IllegalArgumentException: Invalid character found in method name [token

这个问题是本地用了https,只要将https改为http就可以解决。 参考:https://blog.csdn.net/weixin_44299027/article/details/109474606 https://blog.csdn.net/jcmj123456/article/detail ......

SpringBoot单元测试出错:No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalancerProperties'

### 问题详情: ``` java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalan ......

Could not commit Hibernate transaction,Transaction not successfully started

Could not commit Hibernate transaction,Transaction not successfully started 1.数据库操作和业务分离。事务内 属于业务验证抛出的异常问题或其他不符合当前业务规则的异常,挪到上一层级,如接口层或业务视图层,以此避免该类问题 2 ......

Plugin 'maven-clean-plugin:3.1.0' not found

解决方案 增加如下代码: <groupId>org.apache.maven.plugins</groupId> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifact ......
maven-clean-plugin Plugin plugin maven clean

Python - matplotlib 不显示中文 && findfont: Font family ['simsun'] not found

# 一.发现问题 python matplotlib.plt 使用 plt.title 写标题时,标题显示为方框,无法正常显示中文,遂开始修复之旅。 ![](https://img2023.cnblogs.com/blog/2864832/202305/2864832-202305261554041 ......
matplotlib amp findfont Python family

parser.add_argument()已经设置了默认值,但调试时仍然报错:main.py: error: the following arguments are required: data

报错的代码: ` parser.add_argument('data', type=str, default='/home/user1/datasets/cifar10', help='path to dataset') ` 在data前加"--",修改后的代码: ` parser.add_argu ......

How to fix CMake error Could not find a package configuration file provided by “boost_filesystem”

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package): Could not find a package configuration file provided ......

feign对接类型form-data显示报错Could not write request: no suitable HttpMessageConverter found for request

一、问题简介 在pringboot中利用feign对接第三方接口上传文件 @PostMapping(value = "/polarion/catl-workItem/uploadAtt", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) public ......

使用resource读取properties文件,出现Cause: java.sql.SQLException: No suitable driver found for http://maven.apach.org

### Error querying database. Cause: java.sql.SQLException: No suitable driver found for http://maven.apache.org ### The error may exist in com/louis/d ......

List<Integer>,List<String>之间互相转换

public class Test { public static void main(String[] args) { List<Integer> integerList = new ArrayList<>(); integerList.add(1); integerList.add(2); in ......
List 之间 Integer String

在本地运行spark程序,出现Scala module 2.13.4 requires Jackson Databind version >= 2.13.0 and < 2.14.0 - Found jackson-databind version 2.12.7

这是jackson多版本题 , 我们需要屏蔽所有hadoop 组件中的Jackson,在pom.xml文件里修改: 添加 <exclusions> <exclusion> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>*</a ......

integer和int之间的关系

在计算机编程中,Integer和int都是表示整数类型的变量类型,它们之间是有关系的,但用法和细节有所不同。 int是Java语言中表示整数类型的基本数据类型之一,它可以存储32位(4个字节)的有符号整数,其范围大约为-2147483648到2147483647。int类型的变量通常用于声明和操作整 ......
之间 integer int

常见问题解决 --- Failed to build android app at server - class file for android.support.v4.app.Fragment not found

问题原因 这个错误主要是LocalBroadcastManager这个类被弃用了,而在库或者sdk中使用到了。 解决办法 build.gradle文件中添加 implementation 'com.android.support:support-v4:30.4.1' gradle.propertie ......
android app Fragment 常见问题 常见

LinuxMint 安装 .NET 7 发生No SDKs were found.

一、环境 LinuxMint 21.1 二、安装方式 1.通过系统软件管理器,搜索DotNet SDK 安装.net 7 SDK 2.dotnet --info查看.net信息,提示.NET SDKs Installed: NoSDKs were found. 3.查看安装程序 (1)/usr/li ......
LinuxMint found SDKs were NET

git拉取代码出现“remote: The project you were looking for could not be found.”错误分析

如果输入的远程地址正确,那么极大可能是用户未登录或多个用户登录无法正确获取你想要的用户,如下图所示, 由于之前有同事在我电脑登录git账号,所以在windows凭据中保存了2个git账号,而默认使用的第一个账号的远程库中不存在我想要的目标仓库数据,就出现了“remote: The project y ......
错误 project looking 代码 remote

报错:TypeError: Found non-callable @@iterator

代码: // 自动导入插件 const autpImport = require('unplugin-auto-import/webpack')(...autoImportConfig) 报错 TypeError: Found non-callable @@iterator 原因: 使用 ... 扩 ......

Git-fatal: unable to access ‘https://gitlab.XX.git/‘: Could not resolve host: gitlab.XX.com.cn

git提交时报错: `fatal: unable to access 'https://gitlab.XX.git/': Could not resolve host: gitlab.XX.com.cn` 此时需要配置代理: `git config --global http.proxy XX.XX ......
gitlab Git-fatal resolve access unable

Error: Main method not found in class

###执行java报错,没有发现主方法###[root@localhost qf]# java QfError: Main method not found in class Qf, please define the main method as: public static void main( ......
method Error found class Main

vim command not found

linux系统上一般默认的是vi,vim需要我们手动去安装 1. 检查是否存在vim的安装包 ``` rpm -qa|grep vim ``` ![](https://img2023.cnblogs.com/blog/2135157/202305/2135157-20230523231951568- ......
command found vim not

【Django】关于错误django.db.utils.NotSupportedError: MySQL 5.7 or later is required (found 5.5.62).

本来想用Django创建表,但是输入 python manage.py makemigrations 然后就出错了,说是MYSQL兼容问题 解决方法 下载低版本的Django并且更新数据库可以解决(我在pycharm又下载了2.2.28,数据库从5.5更新到8.0)版本不能超过(Djang 4.1. ......

MVC4 部署 could not load file or assembly system.web.http.webhost.....出错

1.确保项目是.net 4.0版本 2.如下图标出的部分,确保这个dll引用是项目本地,找到项目下的“引用”,找到对应的引用右键属性,将“复制本地”改为True,这里我们可以在项目下新建一个存入dll的文件夹,将这些dll放在这个文件夹里面,路径引用改为复制本地为True后就自动引用这个文件夹的路径 ......
assembly webhost system could MVC4

ts常用语法笔记(Omit,Pick,Partial,Required)

1.Omit【某个类型中去除某些项后的新的数据类型】 -需要两个参数:Omit<type, string>,第一个参数为要继承的type类型,第二个参数为想要去除的key的字符串,存在多个时用|分隔 源码: type Omit<T, K extends keyof any> = Pick<T, Ex ......
语法 Required 常用 Partial 笔记

java正确开发系列:mybatis为何提示@MapKey is required

在mapper接口的方法定义为List<Map<String,Object>>类型时,会出现@MapKey is required的提示,意思是要在该方法的签名前加上@MapKey注解,指定Map的key 参考资料: https://blog.csdn.net/m0_59846266/article ......
required mybatis MapKey java is

idea中jdk11用maven编译失败 Fatal error compiling: tools.jar not found: XX\Java\graalvm-ce-java11-22.2.0\..\lib\tools.jar

idea maven 编译需要用到 jdk的lib包里面的tools.jar文件,但是jdk1.8之后就没有tools.jar了。我这里用的是graalvm 的jdk11,编译一直报错,网上也查不到。 解决办法: 根据对应路径 创建一个lib包,并把jdk1.8的lib下面的tools.jar复制一 ......
tools graalvm-ce-java compiling jar graalvm

#yum安装mysql8.0.32修改二进制日志位置报错mysqld: File '/data/mysql/logbin/mysql-bin.index' not found (OS errno 13 - Permission denied)

#yum安装mysql8.0.32修改二进制日志位置报错mysqld: File '/data/mysql/logbin/mysql-bin.index' not found (OS errno 13 - Permission denied) [root@master-DNS mysql]# cat ......
mysql 二进制 Permission mysql-bin 位置

动态引入(异步加载import和require)

组件懒加载的方式 1. require(AMD规范) { path: '/demo', name: 'Demo', component: resolve => require(['../components/Demo/index'], resolve)} 这种方法可以实现按需懒加载,并且一个组件会打 ......
require 动态 import

Field userClient in com.demo.order.service.OrderService required a bean of type'com.demo.feign.clients.UserClient' that could not be found.

在SpringCloud项目中使用Feign进行远程调用遇到的错误。原因是因为UserClient在com.demo.feign.clients包下面,而order-service的@EnableFeignClientd注解却在com.demo.order包下面,这两个不在同一个包下,无法扫描到Us ......
demo OrderService userClient UserClient com

Navicat Premium 15 注册出现 No All Pattern Found! File Already Patched?

https://blog.csdn.net/ZChen1996/article/details/105706866/ 重新安装 avicat Premium 15(注意安装完成后不要打开,不要运行!!!!!!!!!!!!!!!!!!),重新path即可。 ......
Navicat Already Premium Pattern Patched

python:ERROR: Could not build wheels for wordcloud, which is required to install pyproject.toml-based projects

pycharm里无法下载,在下面下载出现问题 需要下载error里的文件 https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud 这个网站找。输入Python,看自己电脑是怎样的 下载文件后,放到对应位置,下载成功 ......