
bug
编程牧马人
公众号:「编程牧马人」一个菜鸟的成长之路...
展开
-
Maven编译proto生成java代码失败Failed to execute goal org.xolstice.maven.plugins
Failed to execute goal org.xolstice.maven.plugins原创 2022-12-03 17:24:40 · 2624 阅读 · 1 评论 -
go:linkname must refer to declared function or variable
下载完 gin 框架之后报错# golang.org/x/sys/unix../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200223170610-d5e6a3e2c0ae/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200223原创 2022-03-31 11:01:18 · 3665 阅读 · 0 评论 -
Jmeter api 测试
Jmeter测试 Web Api原创 2022-01-05 18:06:28 · 326 阅读 · 0 评论 -
Jmeter FTP测试
公共可用的FTP位置https://dlptest.com/ftp-test/本地测试是否可以连上名称密码如下连接成功,本地访达出现远程文件本地测试文件Jmeter 设置测试结果原创 2022-01-05 17:35:24 · 439 阅读 · 0 评论 -
jmeter:Uncaught Exception java.lang.IllegalArgumentException: Name for DataSoure must not be empty
使用jmeter 连接MySQL数据库测试原创 2022-01-05 16:06:09 · 3286 阅读 · 0 评论 -
ObjectUtils.isEmpty() 和 null 区别
分配内存和赋值的区别:isEmpty () :判断值是否为空,即使已经分配内存,但没有赋值,依然是空null: 判断值是否为空,没有分配内存, 可能出现空指针异常public class IsEmptyTest { public static void main(String[] args) { String s1 = new String(); String s2 = "abc"; String s3 = ""; Strin原创 2021-12-28 14:15:55 · 16265 阅读 · 0 评论 -
一次debug成功总结
报错注册完之后一直提示登录失败…最中解决办法报错信息:1、登录失败2、追踪原因3、原因4、开始时并未发现是上述原因,而是一直在调试,怎么也通不过,最后想着把输入的密码和数据库的密码相比较一下,看看哪里并对,于是找到了解决问题的入口,只是增加了一行异常信息代码:想了解一下到底是什么异常,结果如下:完整信息如下:从Service 中捕获的异常信息是: org.springframework.jdbc.BadSqlGrammarException: PreparedStateme原创 2021-03-26 17:00:23 · 304 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘dat
报错信息:注入依赖失败org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInitializer’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.Unsatis原创 2021-03-26 16:41:17 · 823 阅读 · 1 评论 -
Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.execu
问题java.sql.SQLException: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate(), Statement.executeLargeUpdate() or Connection.prepareStatement(). at com.mysql.cj.jdbc.exceptions.SQLError.createSQLEx原创 2021-03-05 12:00:47 · 1622 阅读 · 0 评论 -
Caused by: java.lang.IllegalArgumentException: The servlets named [com.sun.framework.DispatcherServl
Caused by: java.lang.IllegalArgumentException: The servlets named [com.sun.framework.DispatcherServlet] and [com.suntest.framework.DispatcherServlet] are both mapped to the url-pattern [/] which is not permitted原因同一个web项目下有两个Servlet映射到同一路径{"/"}上解决方法把要原创 2021-01-27 13:09:32 · 705 阅读 · 0 评论 -
The origin server did not find a current representation for the target resource or is not willing to
错误码:200 OK:表示成功;301 Moved Permanently:表示该URL已经永久重定向;302 Found:表示该URL需要临时重定向;304 Not Modified:表示该资源没有修改,客户端可以使用本地缓存的版本;400 Bad Request:表示客户端发送了一个错误的请求,例如参数无效;401 Unauthorized:表示客户端因为身份未验证而不允许访问该URL;403 Forbidden:表示服务器因为权限问题拒绝了客户端的请求;404 Not Found:表原创 2021-01-19 10:28:57 · 232 阅读 · 0 评论 -
Usage of API documented as @since 1.9+ less... (Ctrl+F1) Inspection info: This inspection finds all
问题如下:Usage of API documented as @since 1.9+ less… (Ctrl+F1)Inspection info: This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target p原创 2021-01-12 17:28:47 · 3006 阅读 · 0 评论