java
了凡New
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java之Map集合遍历数据的4种方式
Map<String, String> map = new HashMap<String, String>(); map.put("key1", "value1"); map.put("key2", "value2"); System.out.println("=====增强for循环遍历 使用keySet()遍历====="); for (String key : map.keySet()) { System.out.println(key + " :" + map.ge原创 2020-08-06 14:30:18 · 480 阅读 · 0 评论 -
Eclipse启动运行项目Debug弹窗:This kind of launch is configured to openthe debug perspective when it解决办法
问题:Eclipse启动运行项目Debug弹窗?弹窗内容如图所示。 The kind of launch is configured to open the Debug perspective when it suspends. THis Debug perspective is designed to support application debugging. it incorporates views for displaying the debug stack, variables and bre原创 2020-07-14 11:42:31 · 2992 阅读 · 2 评论 -
Spring boot三大特性
1. 组件自动装配:Web MVC、Web Flux、JDBC等 。 激活:@EnableAutoConfiguration 配置:/META-INF/spring.factories 实现:XXXAutoConfiguration 2. 嵌入式Web容器:TomCat、Jetty以及Undertow Web Servlet: Tomcat、Jetty和Undertow Web Reactive: Netty Web Server 3. 生产准备指标:指标、健康检查、外部化配置等 指标:/actu原创 2020-06-17 16:05:23 · 1082 阅读 · 0 评论 -
Spring Boot 项目打包
构建JAR包 构建WAR包 指定Main-Class原创 2020-06-17 15:38:36 · 187 阅读 · 0 评论 -
Spring boot运行模式
IDEA方式:在开发环境中进行调试进行开发。 JAR/WAR方式:在生产环境中常用的启用脚本或者启用命令。 E:\project\spring_boot_app>mvn -Dmaven.test.skip -U clean package E:\project\spring_boot_app\target>java -jar spring_boot_app-0.0.1-SNAPSHOT.jar Maven插件方式: 在两者之间,当没有图形化界面同时又在开发环境的时候或者在线上环境安装了.原创 2020-06-17 15:35:30 · 239 阅读 · 0 评论 -
Spring 的注册与注入
之前和同学老是爱混淆注册与注入。今天再看一遍感觉多了一些理解。 注册就是声明bean。就是让spring能够找到这个bean服务。 注入就是把bean(A)加入到另一个bean(B)的属性中。让另外一个beanB服务能够使用被注入的beanA的功能。 ...转载 2020-06-17 11:45:16 · 381 阅读 · 0 评论 -
Java之List集合遍历数组的4中方式
//定义String数组 String data[] = {"jack","tom","peter","linda"}; //转换成List集合 List<String> stringList = Arrays.asList(data); System.out.println("=====Java8 forEach遍历====="); stringList.forEach(s -> { System.out.println(s); }); System.out.printl..原创 2020-05-29 10:44:49 · 705 阅读 · 0 评论 -
ReactJS请求js数组数据,Java后台接收转换List
前端页面请求的数组数据: 中的所有属性不能出现java.sql包下的东西!即不能使用java.sql.Date ResultSet#getDate()返回的是java.sql.Date() PreparedStatement#setDate(...原创 2020-02-07 23:24:27 · 4638 阅读 · 0 评论
分享