Maven标准文件夹结构

目录 描述 src/main/java Application/Library sources src/main/resources Application/Library resources src/main/filters Resource filter files src/main/webapp Web application sources src/test/java Test sources src/test/resources Test resources src/test/filters Test resource filter files src/it Integration Tests (primarily for plugins) src/assembly Assembly descriptors src/site Site LICENSE.txt Project’s license NOTICE.txt Notices and attributions required by libraries that the project depends on README.txt Project’s readme

nginx常用命令

# 查看nginx配置文件位置 nginx -t # reload配置文件 nginx -s reload # 检测配置文件是否能够正常编译 nginx -t -c /etc/nginx/nginx.conf

Git上传本地项目

1.在git上创建仓库,记下clone地址 2.把线上仓库拉到本地 git clone https://github.com/*/*.git 3.把要上传的本地项目文件全部放入本地仓库中 4.把所有文件提交到线上 git

Git常用命令备忘

# git更新当前分支 git pull #拉线上代码 git clone [-b dev] https://***.git.com #查看工作区状态 git status -s #撤回上一次的commit内容 git reset --hard HEAD~ #查看当前分支 git branch #切换到对应分支

Hutool工具包

Hutool封装大量java工具类 maven配置: <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.4.4</version> </dependency> API文档 官方首页