
问答
文章平均质量分 58
ChairmenMao
这个作者很懒,什么都没留下…
展开
-
Python项目运行open()函数报错
Traceback (most recent call last): File "D:/Python/Practice/file_path_test01.py", line 10, in <module> open(path1, 'wb')FileNotFoundError: [Errno 2] No such file or directory: './output/experiment_UNet_ResFourLayerConvBlock_ResTwoLayerConvBlo.原创 2021-11-20 17:17:55 · 4125 阅读 · 0 评论 -
Springboot项目问题记录
注解1、mybatis.mapper-locations在SpringBoot配置文件中使用,作用是扫描Mapper接口对应的XML文件,如果全程使用@Mapper注解,可以不使用该配置。2、@MapperScan会扫描Mapper接口类,并生成对应的实现类。注意: 如果Mapper.xml文件和Dao接口在同一级包下,则 mapper.locations不需要在application.yml中配置。其次,@MapperScan是替代@Mapper的便捷写法,二者可以相互替换。案例: 前提:mapp原创 2021-01-06 11:56:40 · 1096 阅读 · 0 评论