06 2022 档案

摘要:原因分析:找了好久才发现的,原来过滤器的这个类没有进入IOC容器,Spring把这个类当做普通类,而不是Bean。 解决:给LoginFilter.java类 加上注解@Component即可! 阅读全文
posted @ 2022-06-30 18:24 liaoxiang 阅读(848) 评论(0) 推荐(0) 编辑
摘要:if (SystemUtils.isNull(roleInfo)){ //roleRepository.delete(roleInfo); //用默认的删不掉 boolean b = roleRepository.deleteByUid(id); //自定义的语句也删不掉 logger.info(" 阅读全文
posted @ 2022-06-28 12:40 liaoxiang 阅读(29) 评论(0) 推荐(0) 编辑
摘要:java.sql.SQLSyntaxErrorException: Table 'freight.hibernate_sequence' doesn't exist 表hiberate_sequence的作用为当主键id增长方式选择以sequence方式时,那么表hibernate_sequence 阅读全文
posted @ 2022-06-23 14:54 liaoxiang 阅读(506) 评论(0) 推荐(0) 编辑
摘要:[root@itcast local]# yum install lrzszLoaded plugins: fastestmirror, refresh-packagekit, securitySetting up Install ProcessLoading mirror speeds from 阅读全文
posted @ 2022-06-09 16:18 liaoxiang 阅读(1335) 评论(0) 推荐(0) 编辑
摘要:报错信息: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerMapping]: Factory 阅读全文
posted @ 2022-06-04 14:23 liaoxiang 阅读(2942) 评论(0) 推荐(0) 编辑
摘要:报错提示如下,已经找到解决,在pom.xml中引用了servlet,但没有设定其作用范围为 provided,所以冲突了。 严重: A child container failed during startjava.util.concurrent.ExecutionException: org.ap 阅读全文
posted @ 2022-06-03 12:07 liaoxiang 阅读(116) 评论(0) 推荐(0) 编辑

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