10 2022 档案
摘要:关于IDEA中Spring配置文件中的提示:File is included in 4 contexts. 今天在学习SpringMVC框架的时候,由于web.xml中需要绑定Spring的配置文件,在配好Spring的配置文件并运行Tomcat的时候,在Spring的配置文件顶部,有那么一行提示:
阅读全文
摘要:Error creating bean with name 'UserMapper' defined in file异常处理和Cause: java.lang.IllegalArgumentException: Result Maps collection already contains 这两个问
阅读全文
摘要:解决mybatis自动生成dao层时无法准确找到生成的实体类 在generatorConfig.xml配置文件中,将url改为 connectionURL="jdbc:mysql://localhost/mybatis?nullCatalogMeansCurrent=true 即可自动生成目标数据库
阅读全文