框架
qq_36607554
这个作者很懒,什么都没留下…
展开
-
springboot项目中无法直接访问templates下的html文件的解决方法
springboot项目中无法直接访问templates下的html怎么解决原创 2023-01-03 17:41:48 · 1030 阅读 · 2 评论 -
Spring IoC控制反转
Spring IoC控制反转原创 2022-11-03 11:10:45 · 57 阅读 · 0 评论 -
Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect‘ not set
该报错是你的实体类或者你的mapper接口写错了原创 2021-05-21 20:52:39 · 169 阅读 · 0 评论 -
Required request body is missing:报错解决
1.原因controll的代码使用了@RequestBody注解,前端使用的是get请求应该使用post请求 ***//@RequestBody需要使用post*** public PageResult findPage(@RequestBody TbBrand tbBrand,@RequestParam("pageNum") int pageNum, @RequestParam("pageSize") int pageSize){ return tbBrandService.fi原创 2021-04-21 20:28:55 · 1267 阅读 · 0 评论 -
Could not autowire field: private com.xxx.proj.mapper.TbSellerMapper com.xxx.proj.service.impl.TbSel
启动环境报错,原因没有扫描mapper包,添加上扫描就可以了 bean class="org.mybatis.spring.mapper.MapperScannerConfigurer" p:basePackage="com.xxx.proj.mapper" p:sqlSessionFactoryBeanName="sqlSessionFactory"></bean>原创 2021-04-20 20:00:01 · 229 阅读 · 0 评论