文章分类 - java
摘要:Java项目使用Maven开发完成后,发布到线上需要进行以下步骤: 构建项目:在本地开发环境中,使用Maven构建项目。通常通过运行mvn clean install命令来编译、测试和打包项目,这会在target目录下生成一个可执行的JAR或WAR文件1。 准备服务器环境:确保服务器上
阅读全文
摘要:https://blog.csdn.net/qq_43329216/article/details/118385502
阅读全文
摘要:https://mvnrepository.com/artifact/mysql/mysql-connector-java
阅读全文
摘要:https://www.jianshu.com/p/9762b7098b76
阅读全文
摘要:转:https://www.breakyizhan.com/springboot/3034.html
阅读全文
摘要:处理请求和发送响应的过程是由一种叫做Servlet的程序来完成的,并且Servlet是为了解决实现动态页面而衍生的东西。理解这个的前提是了解一些http协议的东西,并且知道B/S模式(浏览器/服务器)。 B/S:浏览器/服务器。 浏览器通过网址来访问服务器,比如访问百度,在浏览器中输入www.bai
阅读全文
摘要:maven的介绍,初步认识,获取jar包的三个关键属性 --> 介绍仓库(获取的jar包从何而来)-->用命令行管理maven项目(创建maven项目) --> 用myeclipse创建maven项目 -->详细介绍pom.xml中的依赖关系(坐标获取、定位jar包的各种属性讲解。 --WZY 一、
阅读全文
摘要:转:https://www.breakyizhan.com/springboot/3028.html
阅读全文
摘要:函数中return直接终止函数体 一、一层一层返回 return:从被调用函数返回到主调函数中继续执行,并非一遇到return整个递归结束。 二、对于有返回值得函数递归调用必须要有return 这个代码我想很多人第一眼看到就很容易想到这个TestFun方法一定返回0,因为除数不能为0 所以一直报错
阅读全文
摘要:可视化界面:Kibana 1.jdk环境 2.elacsticseach,默认1g内存,可以修改 3.ik smart 分词器 增:put/post /索引/类型/id 删 :delect /索引 改:put/post /索引/类型/id 查:GET /索引/类型/id /索引/类型/id?vers
阅读全文
摘要:一、存储日志 elasticseach(存储日志) + logstash(收集日志) + kibana(展示日志) 转载: https://www.cnblogs.com/tielemao/tag/elasticsearch/
阅读全文
摘要:ES(Elasticsearch)支持PB级全文搜索引擎入门教程 全文搜索属于最常见的需求,开源的 Elasticsearch (以下简称 Elastic)是目前全文搜索引擎的首选。 它可以快速地储存、搜索和分析海量数据。比如维基百科、Stack Overflow、Github 都采用它。 Elas
阅读全文
摘要:web.xml: <filter> <filter-name>HiddenHttpMethodFilter</filter-name> <filter-class>org.springframework.web.filter.HiddenHttpMethodFilter</filter-class>
阅读全文
摘要:package com.qfedu.springmvc.controller; import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.PathVariable;i
阅读全文
摘要:///ModelAndView@RequestMapping("/edit")public ModelAndView edit() { User user = new User(); user.setUsername("helen"); user.setAge(10); user.setEmail(
阅读全文
摘要:conteroll: package com.qfedu.springmvc.controller; import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.Req
阅读全文
摘要:安装 maven 镜像https://archive.apache.org/dist/maven/maven-3/3.6.2/ https://blog.csdn.net/aaxzsuj/article/details/130524829 一、SpringMVC基础入门,创建一个HelloWorld
阅读全文