摘要:浏览器控制台使用方法: https://developer.chrome.com/docs/devtools/console/utilities?hl=zh-cn $() 是document.querySelector() 函数的快捷方式; 比如: <input class="el-input__i
阅读全文
摘要:粘贴时控制台显示 Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yourself. This could allow attackers to ste
阅读全文
摘要:package tr.demo; import jakarta.servlet.http.HttpServletRequest; import org.springframework.web.bind.annotation.GetMapping; import org.springframework
阅读全文
摘要:1、创建ips.txt文件,在里面写入局域网中没有被使用的ip地址; 添加线程组 2、在线程组里加入‘CSV数据文件设置’,填上ips.txt文件 3、在线程组里加入HTTP信息头管理器,加入请求头X-Forwarded-For, 值写‘CSV数据文件设置’中的‘变量名称’ 4、在线程组里加入HTT
阅读全文
摘要:InetAddress ia = InetAddress.getLocalHost(); String ip = ia.getHostAddress(); String name = ia.getHostName(); log.info(ip); log.info(name);
阅读全文
摘要:1、在pom.xml中添加 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.2.0</version> <executions> <
阅读全文
摘要:如何添加构建jar包 : https://www.cnblogs.com/ychun/p/18528326 1、 2、 3、 4、 5、 6、 7、 输出: 参考:https://blog.csdn.net/lisainan66/article/details/136272116
阅读全文
摘要:mainClass是指程序入口 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.2.0</version> <executions>
阅读全文
摘要:(1)org.apache.log4j.ConsoleAppender(控制台)(2)org.apache.log4j.FileAppender(文件)(3)org.apache.log4j.DailyRollingFileAppender(每天产生一个日志文件)(4)org.apache.log4
阅读全文
摘要:1、检查maven镜像,使用阿里云的; http://maven.aliyun.com/nexus/content/groups/public/ 如果你的maven能下载其他依赖,下载不了这个,说明不是镜像问题; 2、给插件加上版本号; 比如 <plugin> <groupId>org.spring
阅读全文
摘要:package testReadFile; import org.springframework.core.io.FileSystemResource; import org.springframework.core.io.Resource; import org.springframework.c
阅读全文
摘要:下载链接: https://www.ej-technologies.com/exe4j/download
阅读全文
摘要:需要导入的jar <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>5.3.14</version> </dependency> 方法:使用Spring
阅读全文