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