摘要:
2020-03-14 16:48:04.222 ERROR 19068 [eate-1845158486] com.alibaba.druid.pool.DruidDataSource : create connection error, url: jdbc:mysql://localhost:33 阅读全文
摘要:
spring boot 版本2.2.5 测试spring security 5.1.2时出现There is no PasswordEncoder mapped for the id "null" 因为spring security5.x版本更新了很多的密码加密模式,导致再进行输入密码时不设置密码加 阅读全文
摘要:
java.lang.NullPointerException at com.hbue.o2o.service.ProductServiceTest.testAddProduct(ProductServiceTest.java:60) 进行Junit测试时要声明运行环境告诉spring配置文件的位置 阅读全文
摘要:
useGeneratedKeys="true" 设置mybatis自动获取数据库生成的自增主键 keyProperty="product_id" 指定把获取的主键注入到product类中productId属性 keyColumn="product_id" 声明数据库中的主键名称 阅读全文
摘要:
http://localhost:8080/o2o/shopadmin/o2o/shopadmin/shoplist 进行页面跳转时出现地址栏叠加 在返回的url中如果不添加/请求会直接返回一个类似于html的页面 而不会被拦截器拦截导致地址叠加 阅读全文
摘要:
shop = mapper.readValue(shopStr, Shop.class); shop=null的问题 Unrecognized field "shopCategory" (class com.hbue.o2o.entity.Shop), not marked as ignorable 阅读全文
摘要:
Cannot read property 'files' of undefined var shopImg= $('#shop-img')[0],files[0] 暂未解决 阅读全文
摘要:
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException 阅读全文
摘要:
转载 https://blog.csdn.net/doupei2006/article/details/7920283 阅读全文
摘要:
转载 十大经典排序算法 js 实现 https://www.cnblogs.com/onepixel/articles/7674659.html 阅读全文