摘要:
修改tomcat 配置模板 setting living 指定JDK 阅读全文
posted @ 2020-07-16 22:32
市丸银
阅读(543)
评论(0)
推荐(0)
摘要:
https://www.cnblogs.com/huiyi0521/p/10997146.html setting配置有效 <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun. 阅读全文
posted @ 2020-07-16 21:53
市丸银
阅读(3526)
评论(0)
推荐(0)
摘要:
一、maven 创建java工程 使用骨架,推荐不使用骨架 二、创建webapp 阅读全文
posted @ 2020-07-16 21:52
市丸银
阅读(116)
评论(0)
推荐(0)
摘要:
https://www.cnblogs.com/stars-one/p/10958796.html 阅读全文
posted @ 2020-07-16 21:36
市丸银
阅读(122)
评论(0)
推荐(0)
摘要:
1、mvn clean 2、mvn complie (只编译正式的代码) 3、mvn test (编译test和正式的代码) 4、mvn package (默认打成war包) 5、mvn install (包package 存放到本地仓库,修改本地仓库路径 https://www.cnblogs.c 阅读全文
posted @ 2020-07-16 21:06
市丸银
阅读(80)
评论(0)
推荐(0)
摘要:
组成 1、核心代码 2、配置文件 3、测试代码 4、测试配置文件 maven目录结果 src/main/java 核心代码 src/main/resources 配置文件 src/test/jave 测试代码 src/test/rescoures 测试配置文件 src/main/webapp 页面资 阅读全文
posted @ 2020-07-16 20:56
市丸银
阅读(156)
评论(0)
推荐(0)
摘要:
一、安装配置 https://blog.csdn.net/a805814077/article/details/100545928 二、修改jar储存位置 apache-maven-3.6.3\conf\settings.xml 阅读全文
posted @ 2020-07-16 20:42
市丸银
阅读(157)
评论(0)
推荐(0)
摘要:
一、优点 1、解决jar包冲突 2、测试 3、打包项目 4、jar包仓库 5、maven tomcat 二、运行项目 mvn tomcat:run 三、jar存放位置 apache-maven-3.6.3\conf\settings.xml 第50行作用 仓库三类 本地仓库 远程仓库(私服。公司) 阅读全文
posted @ 2020-07-16 20:24
市丸银
阅读(92)
评论(0)
推荐(0)
摘要:
类 public class jarTs { public static void main(String[] args) throws IOException { String path =System.getProperty("user.dir"); System.out.println("us 阅读全文
posted @ 2020-07-16 08:53
市丸银
阅读(384)
评论(0)
推荐(0)
摘要:
注意 1、不同包之间需要使用导包语句 import 路径 阅读全文
posted @ 2020-07-16 07:44
市丸银
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号