03 2020 档案

摘要:org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.hbue.dao.SysDeptMapper.int at org.apache.ibatis.builder.MapperBuil 阅读全文
posted @ 2020-03-18 23:34 小胡0602 阅读(735) 评论(0) 推荐(0) 编辑
摘要:E:\apache-tomcat-8.0.36\bin\catalina.bat run [2020-03-17 12:25:31,974] Artifact permission:war exploded: Waiting for server connection to start artifa 阅读全文
posted @ 2020-03-17 00:32 小胡0602 阅读(569) 评论(0) 推荐(0) 编辑
摘要:package com.hbue.demo2; import com.hbue.demo2.model.Permission; import com.hbue.demo2.model.Role; import com.hbue.demo2.model.User; import com.hbue.de 阅读全文
posted @ 2020-03-14 18:23 小胡0602 阅读(2473) 评论(0) 推荐(0) 编辑
摘要:2020-03-14 16:48:04.222 ERROR 19068 [eate-1845158486] com.alibaba.druid.pool.DruidDataSource : create connection error, url: jdbc:mysql://localhost:33 阅读全文
posted @ 2020-03-14 17:44 小胡0602 阅读(501) 评论(0) 推荐(0) 编辑
摘要:spring boot 版本2.2.5 测试spring security 5.1.2时出现There is no PasswordEncoder mapped for the id "null" 因为spring security5.x版本更新了很多的密码加密模式,导致再进行输入密码时不设置密码加 阅读全文
posted @ 2020-03-13 21:44 小胡0602 阅读(162) 评论(0) 推荐(0) 编辑
摘要:java.lang.NullPointerException at com.hbue.o2o.service.ProductServiceTest.testAddProduct(ProductServiceTest.java:60) 进行Junit测试时要声明运行环境告诉spring配置文件的位置 阅读全文
posted @ 2020-03-06 14:00 小胡0602 阅读(1167) 评论(0) 推荐(0) 编辑
摘要:useGeneratedKeys="true" 设置mybatis自动获取数据库生成的自增主键 keyProperty="product_id" 指定把获取的主键注入到product类中productId属性 keyColumn="product_id" 声明数据库中的主键名称 阅读全文
posted @ 2020-03-06 10:48 小胡0602 阅读(171) 评论(0) 推荐(0) 编辑
摘要:http://localhost:8080/o2o/shopadmin/o2o/shopadmin/shoplist 进行页面跳转时出现地址栏叠加 在返回的url中如果不添加/请求会直接返回一个类似于html的页面 而不会被拦截器拦截导致地址叠加 阅读全文
posted @ 2020-03-05 17:02 小胡0602 阅读(305) 评论(0) 推荐(0) 编辑
摘要:shop = mapper.readValue(shopStr, Shop.class); shop=null的问题 Unrecognized field "shopCategory" (class com.hbue.o2o.entity.Shop), not marked as ignorable 阅读全文
posted @ 2020-03-03 01:42 小胡0602 阅读(272) 评论(0) 推荐(0) 编辑
摘要:Cannot read property 'files' of undefined var shopImg= $('#shop-img')[0],files[0] 暂未解决 阅读全文
posted @ 2020-03-02 23:49 小胡0602 阅读(1988) 评论(0) 推荐(0) 编辑
摘要:警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException 阅读全文
posted @ 2020-03-01 23:11 小胡0602 阅读(1171) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示