摘要: Springboot整合testNG后,使用3种运行方式之一的testng.xml方式启动执行testcase,右键无法选择Run,如下图红框内容: 在pom.xml中指定运行的test.xml路径,可正常启动执行用例,说明springboot启动时,通过编译pom文件查找到xml路径及内容,排除了 阅读全文
posted @ 2020-12-31 15:07 yull0408 阅读(1252) 评论(0) 推荐(0) 编辑
摘要: 针对RedisTemplate封装了一个RedisUtils类,在调用时使用@Autowire注入此类,出现报错,内容如下 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wi 阅读全文
posted @ 2020-12-31 14:07 yull0408 阅读(1449) 评论(0) 推荐(0) 编辑