settings----> editor---->inlay Hints---->java---->URL path inlay 去掉Show hints
后端技术
Redis封装
/* * Copyright 2016-2021 Pnoker. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
Tomcat虚拟目录配置
server.xml-host节点 <Context path="/website_path" docBase="F:\virtualDIR" debug="0" reloadble="true"/> 重启
Json Schema 校验json,java代码示例
<!-- json schema 转换 fge --> <dependency> <groupId>com.github.fge</groupId> <artifactId>json-schema-validator</artifactId> <version>2.2.6</version> </depend...
RXTX实现JAVA串口编程
准备工作 1.1下载文件 首先下载RXTX库对应的资源文件。下载地址 http://fizzed.com/oss/rxtx-for-java 大家根据自己的系统下载对应的文件。 也可点击下面连接直接下载 mfz-rxtx-2.2-20081207-win-x8...
Java写的获取日期工具类
1)获取当天的开始时间2)获取当天的结束时间3)获取昨天的开始时间4)获取昨天的结束时间5)获取明天的开始时间6)获取明天的结束时间7)获取本周的开始时间8)获取本周的结束时间9)获取上周的开始时间10)获...
shiro注解权限控制-5个权限注解
RequiresAuthentication: 使用该注解标注的类,实例,方法在访问或调用时,当前Subject必须在当前session中已经过认证。 RequiresGuest: 使用该注解标注的类,实例,方法在访问或调用时,当前Subje...
Centos环境下Tomcat启动缓慢
找到 $JAVA_HOME/jre/lib/security/java.security 这个文件,找到里面的 securerandom.source=file:/dev/random 或者 securerandom.source=file:/dev/urandom 修改为 securerandom.source=file:/...