自动装配 springboot的启动注解是@SpringBootApplication,它是一个组合注解,是由@SpringBootConfiguration、@EnableAutoConfiguration、@ComponentScan组成的。而自动配置就是由@EnableAutoConfigur ...
分类:
编程语言 时间:
2021-02-18 13:20:23
阅读次数:
0
psvm或者main main方法 sout --system.out 输出 ctrl+鼠标左键,进入类 左侧structure,查看类的结构,方法 tools --generate javadoc --other command line arguments:-encoding utf-8 -ch ...
分类:
其他好文 时间:
2021-02-18 13:17:46
阅读次数:
0
第一步:下载安装包 下载地址: https://github.com/seata/seata/releases/tag/v0.9.0 解压到想存放的地址 第二步:配置seata-server config目录下的file.conf文件 29行左右找到service模块儿 修改内容 vgroup_ma ...
分类:
其他好文 时间:
2021-02-18 13:06:20
阅读次数:
0
IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog 新建Maven项目,遇到警告: No archetype found in remote catalog. Defaulting to inter ...
分类:
其他好文 时间:
2021-02-18 13:05:15
阅读次数:
0
类 类的定义 //定义一个Person的类 class Person { //属性 String userName = 'Tobu'; int age = 25; String blogAdress = 'https://www.cnblogs.com/TobuTobu'; String userI ...
分类:
其他好文 时间:
2021-02-18 12:55:10
阅读次数:
0
1.使用npm下载plugin npm i html-webpack-plugin -D 2.配置webpack.config.js文件 /* webpack配置文件,作用:指示webpack怎么干活,干哪些活 当你运行webpack指令的时候,会加载其中的配置 所有的构建工具都是基于Node.js ...
分类:
Web程序 时间:
2021-02-17 15:10:52
阅读次数:
0
1.使用npm下载组件 npm i file-loader -D npm i url-loader -D 2.配置webpack.config.js文件 const { resolve } = require('path'); const HtmlWebpackPlugin = require('h ...
分类:
Web程序 时间:
2021-02-17 15:09:41
阅读次数:
0
1. 单进程最大打开文件数限制 有时候会遇上socket/file: can‘t open so many files的问题,其实是Linux系统有文件句柄限制的,一般Linux系统限制单进程最大可以打开1024个文件,这是远远不能满足高并发需求的。 通过ulimit –a命令来查看系统的一些资源限 ...
分类:
系统相关 时间:
2021-02-17 14:58:56
阅读次数:
0
/** * 打开nginx配置文件nginx.conf,添加以下内容 * 注意层级,在 http{ server { location { #这里添加 } } } 添加 */ location / { try_files $uri $uri/ $uri.php?$args; } ...
分类:
Web程序 时间:
2021-02-17 14:58:17
阅读次数:
0
解决idea创建Maven项目时 No archetype found in remote catalog. Defaulting to internal catalog 下载archetype-catalog.xml下载地址:https://repo1.maven.org/maven2/arche ...
分类:
其他好文 时间:
2021-02-17 14:41:35
阅读次数:
0