- 博客(21)
- 收藏
- 关注
原创 No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadC
No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton
2025-03-24 14:46:22
187
原创 没有数据库没有对应字段
Cause: java.sql.SQLSyntaxErrorException: Unknown column 'eval.modelName' in 'where clause':没有这个字段。test中的字段是否正确:test="eval.modelName!取数据时是否添加了#{},例如:#{eval.modelName}实体类的字段和数据库字段是否对应。实体类中是否有对应字段。
2024-12-06 12:10:24
201
原创 同一事务中同时更新了事务表和非事务表,导致违反了 GTID的一致性规则
Statement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
2024-12-06 11:42:10
362
原创 本地计算机上的MySQL服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止
本地计算机上的MySQL服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止
2023-04-23 15:16:43
451
原创 boostrap-fileinput设置上传指定数量文件后禁止掉选择按钮,不允许在上传
boostrap-fileinput设置上传指定数量文件后禁止掉选择按钮,不允许在上传
2022-12-06 22:50:42
808
原创 No converter found for return value of type: class com.org.pojo.Books]
No converter found for return value of type: class com.org.pojo.Books]
2022-09-26 22:58:55
312
原创 <url-pattern>/*</url-pattern>和<url-pattern>/</url-pattern>
<url-pattern>/*</url-pattern>和<url-pattern>/</url-pattern>
2022-09-26 12:49:37
550
原创 在Tomcat部署项目并配置使得项目直接通过http://ip:port进行访问
在Tomcat部署项目并配置使得项目直接通过http://ip:port进行访问
2022-09-20 16:38:35
1161
原创 Bean property ‘dataSource ‘ is not writable or has an invalid setter method. Did you mean ‘dataSourc
[org.springframework.jdbc.datasource.DataSourceTransactionManager]: Bean property 'dataSource ' is not writable or has an invalid setter method. Did you mean 'dataSource'?
2022-07-05 12:35:56
833
4
原创 Error creating bean with name ‘txadvice’: Cannot resolve reference to bean ‘transactionManager’
Error creating bean with name ‘txadvice’: Cannot resolve reference to bean ‘transactionManager’
2022-07-05 12:24:29
735
原创 解决mysql时区问题Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ prope
解决mysql时区问题Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' prope
2022-06-17 21:14:31
125
1
原创 在linux中docker的安装以及出现的问题
docker的安装出现的问题failure: repodata/repomd.xml from mirrors: [Errno 256] No more mirrors to try.http://mirrors/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors; Unknown error"
2022-06-01 01:05:42
973
1
原创 使用dbcp时报: Could not initialize class org.ldh.jdbcDBCPUtils
mysql jdbc dbcp
2022-04-28 16:32:38
193
原创 二分法查找(折半查找)
获取开始的位置和结束的位置,折半查找,如果中间的值等于查找的值这说明查找成功import java.util.Scanner;public class Main7 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int data[]=new int[200]; for (int i = 0; i < data.length; i++) { data[i]=i; }
2022-04-02 16:39:44
1020
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人