声明:本站文章均为作者个人原创,图片均为实际截图。如有需要请收藏网站,禁止转载,谢谢配合!!!

Idea打包springboot项目为war

1、更改打包类型为war<packaging>war</packaging>2、排除tomact <dependency> <groupId>org.springframework.boot</groupId>

Idea打包springboot springmvc项目jar

本文讲解在idea开发工具编辑器中如何将java项目/springboot/springmvc项目打包成jar包1、指定环境application.properties 指定打包时候用哪个配置文件spring.profiles.active=prod开发环境配置文件:application-dev.propertiesspring.profiles.active=prods

maven下载与安装

1、打开官网最新:https://maven.apache.org/download.cgi历史:https://archive.apache.org/dist/maven/maven-3/2、下载binapache-maven-3.6.1-bin.zip3、配置<?xml version="1.0" encoding="

win10/win11安装docker

1、下载docker安装包并安装https://www.docker.com/2、更新linux子系统https://docs.microsoft.com/zh-cn/windows/wsl/install-manual3、配置docker镜像右上角 setting / Docker Engine新增 “registry-mirrors”:[“https://docker.mi

Fastadmin使用think-queue队列

由于fastadmin用的是tp5.0版本,因此安装v1.1.6的think/queue队列1、使用composera安装topthink/think-queuecomposer require topthink/think-queue:v1.1.62、配置队列连接信息application/extra/queue.phpreturn [ //'conne

idea配置热部署

1、引入spring-boot-devtools<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId&am

python:pip设置国内镜像源

国内常用pip镜像源清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/华中理工大学:http://pypi.hustunique.com/山东理工大学:http://pyp

composer常用技巧集锦

1、增加公共函数新建app/common.php文件 function test(){}composer.json新增如下配置"autoload": { "classmap": [ "database/seeds",

php遍历文件夹

function list_file($dir){ //1、首先先读取文件夹 $temp=scandir($dir); //遍历文件夹 foreach($temp as $v){ $a = $dir.'/'.$v; if(is_dir($a)){