上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 100 下一页
摘要: 一、maven 创建java工程 使用骨架,推荐不使用骨架 二、创建webapp 阅读全文
posted @ 2020-07-16 21:52 市丸银 阅读(127) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/stars-one/p/10958796.html 阅读全文
posted @ 2020-07-16 21:36 市丸银 阅读(141) 评论(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 市丸银 阅读(107) 评论(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 市丸银 阅读(204) 评论(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 市丸银 阅读(183) 评论(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 市丸银 阅读(114) 评论(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 市丸银 阅读(411) 评论(0) 推荐(0)
摘要: 注意 1、不同包之间需要使用导包语句 import 路径 阅读全文
posted @ 2020-07-16 07:44 市丸银 阅读(130) 评论(0) 推荐(0)
摘要: 1、引用数据类型 例子 动态初始化 int[] a = new int[10]; byte[] b = new byte[10]; 静态初始化 int[] a = new int[]{1, 2, 4}; int[] b = {1, 2, 4}; 2、结果 public static void mai 阅读全文
posted @ 2020-07-15 22:13 市丸银 阅读(158) 评论(0) 推荐(0)
摘要: 注意:与方法的返回值类型无关 阅读全文
posted @ 2020-07-15 22:03 市丸银 阅读(157) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 100 下一页