7.1、SLF4J 提示报错:SLF4J: No SLF4J providers were found
运行项目并下载源码
1
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See SLF4J Error Codes for further details.
运行项目并下载源码
java
运行
1
2
3
百度上有很多种说法,基本都是包冲突,这里如果用到了logback,升级下版本号就好;1.1 的章节有说;
7.2、Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String
运行项目并下载源码
1
看1.3、升级mybatis-spring;就可以了;
7.3、Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
运行项目并下载源码
1
我发现的第一个错误是这里,原因的话我觉得这个文章写的可以,大家有兴趣的话可以看看
https://www.jb51.net/program/320041b2r.htm
/**
* 根据字典类型查询字典数据信息
*/
@GetMapping(value = "/type/{dictType}")
public AjaxResult dictType(@PathVariable String dictType)
{
List<SysDictData> data = dictTypeService.selectDictDataByType(dictType);
if (StringUtils.isNull(data))
{
data = new ArrayList<SysDictData>();
}
return success(data);
}
运行项目并下载源码
java
运行