随笔分类 - 1.1.3.Java工具使用
摘要:1.Pair 在 import javafx.util.Pair; 包中,是一个简单的键值对类 2.Entry接口下的实现类 (1)SimpleEntry (2)SimpleImmutableEntry 此类不支持修改内容,一旦初始化后key和value就固定了,不能使用setValue方法修改 一
阅读全文
摘要:settings.xml <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:/
阅读全文
摘要:转载:https://www.cnblogs.com/wxmdevelop/p/7341292.html YAML 的意思其实是:"Yet Another Markup Language"(仍是一种置标语言)的缩写。 功能 YAML的语法和其他高阶语言类似,并且可以简单表达清单、散列表,标量等资料形
阅读全文
摘要:级别update classes and resources最低,restart最高, update classes and resources:改了html,css,js redeploy:改了后台Java代码 restart:改了服务器配置
阅读全文
摘要:maven项目分为src目录,resource目录,test/src目录,test/resource目录: 其中src和resource对应到项目的target\classes目录,如果在src目录调用classpath,则class的根目录为target\classes; test/src,tes
阅读全文
摘要:在pom.xml中添加 <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties>
阅读全文
摘要:1.下载maven 网址:http://maven.apache.org 2.下载maven和安装 由于最新版的可能会有问题,我选择下载旧版本 一般都下载二进制的zip文件 解压后文件夹apache-maven-3.6.1,打开设置系统环境变量配置 添加MAVEN_HOME和path MAVEN_H
阅读全文
摘要:1.下载apache-tomcat 网址:http://tomcat.apache.org 下载 tomcat 9.0.29 2.解压后设置控制台显示中文不乱码 在 apache-tomcat-9.0.29\conf 文件夹下logging.properties文件打开 添加一行即可修改为GBK编码
阅读全文
摘要:今天观察tomcat启动日志,有一些以前没注意到的信息: 严重 [main] org.apache.catalina.core.AprLifecycleListener.init An incompatible version [1.2.10] of the APR based Apache Tom
阅读全文
摘要:Tomcat、jdk、web.xml 对应关系: 版本对应错误,更换便可。(版本往下兼容) web.xml——version2.2——JDK1.1——Tomcat3.3 web.xml——version2.3——JDK1.3——Tomcat4.1 web.xml——version2.4——JDK1.
阅读全文