-
H2 Syntax error in SQL statement expected "identifier"
错误信息 Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL sta
2023-03-21, Views: 3700 , Topics: H2
-
H2 无法创建数据库 JdbcSQLNonTransientConnectionException
错误信息 Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: A file path
2023-03-20, Views: 4094 , Topics: H2
-
Maven 单元测试覆盖率检测插件 JaCoCo
配置插件 <plugin> <groupId>org.jacoco</groupId> <artifa
2023-03-19, Views: 2444 , Topics: Maven
-
Maven 常用命令
Maven 指令解析 mvn:主命令 archetype:generate:子命令 archetype:插件 generate:目标 mvn archetype
2023-03-18, Views: 1817 , Topics: Maven
-
Maven Fatal error compiling: 错误: 无效的目标发行版:17 -> [Help 1]
尝试解决 pom.xml中添加如下配置,但未能解决 <properties> <maven.compiler.source>17&l
-
OpenLens 6.3.0 无法查案日志和进入 Pod Shell 解决方法
原因 OpenLens 6.3.0开始移除了Pod的查看日志和进入Pod Shell按钮,无法查看日志和进入Pod操作。 解决办法 OpenLens 6.3.0
2023-03-15, Views: 5804 , Topics: OpenLens Kubernetes
-
HTTP Bad chunk header 和 Illegal or missing hexadecimal sequence in chunked-encoding 解决方法
错误信息 错误一 org.apache.http.MalformedChunkCodingException: Bad chunk header: {"a":[
2023-03-14, Views: 3581 , Topics: HTTP
-
Nginx 502 Bad Gateway
现象 请求页面得到502 Bad Gateway。 日志 查看error.log日志,发现有upstream sent too big header while
2023-03-13, Views: 1764 , Topics: Nginx
-
SSH 客户端工具
WindTerm 功能:SHH、SCP、SFTP、Telnet、Shell、CMD。 https://github.com/kingToolbox/WindTe
2023-03-12, Views: 2377 , Topics: SSH
-
开源邮件服务器
说明 Star数统计于2023-03-11。 Mail-in-a-Box Star:11.6k License:CC0 1.0 Universal 语言:Pyt
2023-03-11, Views: 2578 , Topics: GitHub
-
PowerShell、CMD、Linux 命令换行
场景 运行docker命令,该命令由多行组成。在Linux中使用\表示换行。 docker run \ --name nginx \ -p 80:80 \ ng
2023-03-10, Views: 4637 , Topics: Linux cmd PowerShell
-
Windows 命令中使用 WSL 命令
说明 Windows中可以直接使用WSL子系统的命令,PowerShell和CMD都支持。 格式 wsl+command,如使用date查看日期,可以使用wsl
-
Python 启动简易 HTTP 服务
Python3 python3 -m http.server 7800 Python2 python -m SimpleHTTPServer 7800
2023-03-08, Views: 2521 , Topics: Python
-
Spring Shell 基本使用
添加命令 @ShellComponent:等同于@Component,使Spring扫描进IoC容器。 @ShellMethod:定义命令。 - val
2023-03-07, Views: 2240 , Topics: Spring Shell Spring Boot
-
Spring Shell 基本设置
框架 以Spring Boot为底座,加上spring-shell-starter为框架。 不显示 Banner 在application.yaml中配置 sp
2023-03-06, Views: 3096 , Topics: Spring Shell Spring Boot
-
Spring Boot i18n 国际化
IDEA 插件 Resources Bundle Editor,方便查看和编辑多个i18n文件。 Accept-Language Accept-Language
2023-03-05, Views: 2478 , Topics: Spring Boot i18n IDEA
-
Spring 与 JPA 中的 @Transactional 注解的区别
配置不同 隔离级别 Spring提供事务范围内的隔离级别,JPA只能在链接范围。 传播性 Spring中使用propagation属性。 JPA中使用va
2023-03-04, Views: 2445 , Topics: Spring Boot JPA Spring
-
Spring Boot JPA 打印 SQL 语句及参数
需求 JPA执行SQL语句时,打印最终生成的SQL以及传入的参数。 方法一 show-sql设置为true表示打印SQL语句。 format_sql设置为tru
2023-03-03, Views: 8810 , Topics: Spring Boot JPA
-
Spring Boot JPA 打印 SQL 执行时间
需求 打印出JPA执行SQL语句时花费的时间。 添加配置 generate_statistics设置为true,表示生成统计信息。 spring: jpa:
2023-03-02, Views: 2956 , Topics: Spring Boot JPA
-
Spring Boot JPA 打印慢查询 SQL 语句
开启配置 注意:配置的1000表示1000毫秒 spring: jpa: properties: hibernate:
2023-03-01, Views: 2714 , Topics: Spring Boot JPA