03 2020 档案
摘要:org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.hbue.dao.SysDeptMapper.int at org.apache.ibatis.builder.MapperBuil
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文