会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
火军刀的部落
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
43
下一页
2025年1月
hutool的一个奇怪现象,main ERROR Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
摘要: hutool有一个强大的功能,一行代码实现增删改查。 在src/main/resources目录增加一个db.settings配置文件: url = jdbc:mysql://localhost:3306/ujcms?characterEncoding=utf8&useSSL=false&serve
阅读全文
posted @ 2025-01-01 21:34 火军刀
阅读(412)
评论(0)
推荐(0)
2024年12月
Host '计算机名称' is not allowed to connect to this MySQL server
摘要: 如果你的.net系统没有使用mysql,但是报这个错时,找到C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config目录,打开machine.config文件,搜索“connectionStrings”,如果这个节点下存在LocalMySqlServe
阅读全文
posted @ 2024-12-25 15:17 火军刀
阅读(25)
评论(0)
推荐(0)
2024年10月
maven中央库使用方法(如果你不知道怎样在pom.xml中添加依赖)
摘要: 有时候我们可能知道要添加哪个依赖项,但是只知道它的名称<artifactId>,或者只知道其中的一部分,不知道它的具体名称、公司名称<groupId>和最新版本,可以通过下面两个方法解决。 方法一: 直接问KIMI、天工AI、豆包、通义等AI,都会给出一个完整的答案。 其中,只有KIMI同时给出了源
阅读全文
posted @ 2024-10-05 13:12 火军刀
阅读(137)
评论(0)
推荐(0)
2024年9月
IDEA其它版本
摘要: https://www.jetbrains.com.cn/idea/download/other.html
阅读全文
posted @ 2024-09-08 18:50 火军刀
阅读(10)
评论(0)
推荐(0)
2024年6月
Could not create the driver from NHibernate.Driver.MySqlDataDriver
摘要: C#用nhibernate连mysql时,如果报这个错,大概率是因为MySql.Data.dll的版本与mysql库的版本不一致造成的。也不必完全匹配,我之前发生时,是Mysql.data.dll8.0.x的dll,去连mysql5.7的库。手中没有mysql.data.dl5.7的dll,Nuge
阅读全文
posted @ 2024-06-28 14:40 火军刀
阅读(35)
评论(0)
推荐(0)
怎样获取appsettings.json文件中的值
摘要: /// <summary> /// 获取.netcore下的配置文件appsettings.json中的配置项的值 /// 如:"appSettings:DBType" /// </summary> /// <param name="configItem">配置项</param> /// <retu
阅读全文
posted @ 2024-06-28 10:10 火军刀
阅读(48)
评论(0)
推荐(0)
2024年4月
Intel Core i5/i7/i9 CPU代码
摘要: 每一代的 Intel Core i5 CPU 都有一个特定的数字代码,用于标识该代的处理器。以下是每一代 Intel Core i5 CPU 的数字代码: 第一代:Nehalem 架构(2009年)- i5-7xx 第二代:Sandy Bridge 架构(2011年)- i5-2xxx 第三代:Iv
阅读全文
posted @ 2024-04-05 12:26 火军刀
阅读(1241)
评论(0)
推荐(0)
2024年3月
netcore中使用构造函数依赖注入读取配置文件
摘要: 第一步:建立配置文件 .netcore的MVC项目在创建时会自动生成appsettings.json文件,如下: { "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } },
阅读全文
posted @ 2024-03-24 12:25 火军刀
阅读(82)
评论(0)
推荐(0)
Linux常用命令
摘要: 一、基本命令 1.1. 关机和重启 关机 shutdown -h now 立刻关机 shutdown -h 5 5分钟后关机 poweroff 立刻关机 重启 shutdown -r now 立刻重启 shutdown -r 5 5分钟后重启 reboot 立刻重启 1.2. 帮助命令 --help
阅读全文
posted @ 2024-03-17 21:15 火军刀
阅读(61)
评论(0)
推荐(0)
The negotiated TLS 1.0 is an insecure protocol and is supported for backward compatibility only. The recommended protocol version is TLS 1.2 and later.
摘要: 下载sql server 2014 SP3,地址:https://www.microsoft.com/zh-CN/download/details.aspx?id=57474
阅读全文
posted @ 2024-03-06 11:34 火军刀
阅读(548)
评论(2)
推荐(0)
上一页
1
2
3
4
5
6
7
···
43
下一页
公告