- 博客(66)
- 资源 (1)
- 收藏
- 关注
原创 You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to ex
You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.
2023-08-22 15:01:02
690
原创 No known conditions for “./lib/locale/lang/zh-cn“ specifier in “element-plus“ package [plugin vite:d
The plugin "vite:dep-scan" was triggered by this import
2023-07-31 15:59:26
9436
3
原创 Cannot find base config file @vue/tsconfig/tsconfig.web.json
vue升级到最新版本,node18 会出现warning。
2023-07-03 09:14:15
3128
原创 export in “node_modules/pinia/node_modules/vue-demi/lib/index.mjs“ for import “hasInjectionContext“
node_modules/pinia/node_modules/vue-demi/lib/index.mjs" for import "hasInjectionContext"
2023-06-30 14:54:19
2120
4
原创 Authentication plugin ‘caching_sha2_password‘ cannot be loaded
【代码】Authentication plugin ‘caching_sha2_password‘ cannot be loaded。
2023-04-17 10:07:51
165
原创 unplugin-auto-import 和 unplugin-vue-components 的正确使用方式
和结合官方文档,在详细说一下具体的使用心得(以vite为例)
2023-04-08 00:06:07
4706
5
原创 Parsing error: Cannot find module ‘typescript‘
升级到vue3最新版之后,npm run serve 出现标题错误,谷歌了半天,没找到解决方案,openai一下。
2023-03-28 10:21:05
1396
原创 ClassNotFoundException: feign.Request$Body 问题处理
说明在使用feign 进行表单提交的时候,比如文件上传,会抛出如题的错误原因:feign-core 版本过低,升级到10.x 以上解决方案:https://github.com/OpenFeign/feign/issues/926代码 /** * @param file */ @PostMapping(value = "/file/api/minio/uploadMultiFile", produces = {MediaType.AP
2020-07-07 10:37:36
4200
原创 centos7 安装OmniDB 配置nginx proxy 连接oracle
1. 安装OmniDB下载最新版OmniDBomnidb-app_2.17.0-centos-amd64.rpmrpm -ivh omnidb-server_2.17.0-centos7-amd64.rpmomnidb-server 使用了两个服务来交互,一个是本身的web服务器,还有一个WebSocket服务器。web的默认端口是8000,WebSocket的端口是254822. 运行OmniDB可以直接通过运行[root@localhost ~]# omnidb-serverStart
2020-05-20 13:26:26
1428
原创 centos7.5 安装 mysql 8
前言# MySQL依赖libaio库。如果未在本地安装该库,则数据目录初始化和随后的服务器启动步骤将失败。如有必要,请使用适当的程序包管理器进行安装。yum install libaio上传文件# 第一步,文件上传到服务器的/usr/local/目录下,并解压到当前文件夹。 重命名,这个文件官网下载比较慢tar -xvf mysql-8.0.19-linux-glibc2.12-x8...
2020-03-30 22:38:35
346
原创 Spring Cache 入门
很久之前收藏的一篇文章,后来找不到出处了一:Spring缓存抽象Spring从3.1开始定义了org.springframework.cache.Cache和org.springframework.cache.CacheManager接口来统一不同的缓存技术;并支持使用JCache(JSR-107)注解简化我们开发;Cache接口为缓存的组件规范定义,包含缓存的各种操作集合;Cache接...
2020-03-17 11:31:43
148
原创 vue打包编译报错,These dependencies were not found:core-js/modules/es
在搭建项目的时候,打包编译报了个错误。 ERROR Failed to compile with 24 errors ...
2020-02-05 11:46:21
10384
2
原创 【Spring MVC】之 DispatcherServlet【一】
初始化一个零xml配置的springmvc项目(版本5.2.1.RELEASE)Spring MVC 官方文档1.添加pom文件 <artifactId>good-mvc</artifactId> <packaging>war</packaging> <properties> <tomc...
2020-01-13 12:51:38
171
原创 【Spring MVC】之 URL Patterns
Spring使用的是AntPathMatcher,进行模式匹配,遵循如下规则:? 匹配一个字符* 匹配零或者多个字符** 匹配零或者多个目录{spring:[a-z]+} 将正则表达式[a-z]+匹配到的值,赋值给名为spring的路径变量.对阵AntPathMatcherTests的测试方法,中会有比较全面的测试用例,可以先参考核心的匹配方法这个方法,如果给我们普通人写,觉得...
2020-01-09 20:44:41
798
原创 @AllArgsConstructor与@Value共用的问题解决
平时我们用lombok的方式来实现Bean的构造函数方式的注入,但是当遇到@Value注解的时候,就会出现问题,看下面这段代码:/** * @author sunhan */@RestController@AllArgsConstructor@RequestMapping("test")public class TestController { @Value("${test...
2019-12-18 10:18:11
7651
1
原创 【ActiveMQ笔记三】ActiveMQ请求响应模式
请求响应模式的主要应用场景:确定mq有没有正确的消费消息。基础环境,参见笔记一 我们实际中的很多应用相当于一种一应一答的过程,需要双方都能给对方发送消息。于是请求-应答的这种通信方式也很重要。它也应用的很普遍。注意:请求-应答方式并不是JMS规范系统默认提供的一种通信方式。简单的说就是一来一回首先,我们定义一个producer@RunWith(SpringRunner.cla...
2019-12-04 16:51:23
478
原创 【ActiveMQ笔记二】JMS消息模型
JMS和ActiveMQ JMS(Java Messaging Service)是Java平台上有关面向消息中间件的技术规范,实际上是一套api,它便于消息系统中的Java应用程序进行消息交换,并且通过提供标准的产生、发送、接收消息的接口简化企业应用的开发,ActiveMQ而是这个规范的一个具体实现。JMS规范JMS对象模型连接工厂。连接工厂负责创建一个JMS连接。JMS连接。JMS连...
2019-12-04 13:34:52
214
原创 【ActiveMQ笔记一】spring-boot 集成ActiveMQ
spring boot 版本:2.2.1activemq 版本: 5.15.101. pom文件这里面的pooled-jms为了防止启动的时候出现错误:required a bean of type 'org.springframework.jms.core.JmsTemplate' that could not be found. <dependencies> ...
2019-12-03 17:47:09
214
原创 Spring【版本5.2.2】容器初始化过程(八)createBean 详解(二)
不得不说,对我们这种平庸的人,学习源码是痛苦的接着上文1. doCreateBean >> applyMergedBeanDefinitionPostProcessors /** * 将MergedBeanDefinitionPostProcessors应用于指定的bean定义, * 调用它们的postProcessMergedBeanDefinition方法。 ...
2019-11-27 18:25:45
272
原创 Spring【版本5.2.2】容器初始化过程(七)createBean 详解(一)
接着上文,说到关于createBean,在上节的doGetBean 9.1.1、9.2.2、9.3.4三次调用了createBean,篇幅原因,适当去掉一些异常的处理1.createBean @Override protected Object createBean(String beanName, RootBeanDefinition mbd, @Nullable Obj...
2019-11-27 18:25:08
859
原创 Spring【版本5.2.2】容器初始化过程(六)getBean 详解
接着上文的6.registerBeanPostProcessors代码块4:getBean这个是重点: @Override public Object getBean(String name) throws BeansException { // 获取name对应的bean实例,如果不存在,则创建一个 return doGetBean(name, null, null...
2019-11-26 20:36:07
332
原创 Spring【版本5.2.2】容器初始化过程(五)finishBeanFactoryInitialization
11.finishBeanFactoryInitialization篇幅原因,可能会删除一些不重要的代码,是不重要,不是没用。protected void finishBeanFactoryInitialization(ConfigurableListableBeanFactory beanFactory) { // 1. 判断是否有bdName为conversionService的bd(...
2019-11-25 22:55:04
230
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人