常见异常 IN WORK 持续更新

保存全局异常信息 ex=org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.sf.gis.emergencytransport.dao.TransOrderMapper.getCompanyOrderList
Invalid bound statement (not found): com.sf.gis.emergencytransport.dao.TransOrderMapper.getCompanyOrderList

原因:别人吧我的mapper.xml文件改了

要不就是你的 没写对

要不就是 mapper-locations: classpath*:mapper/*.xml  沒寫對

要不就是   你之前的java进程没有杀掉,你一直在调用之前的进程

No qualifying bean of type 'com.sf.gis.emergencytransport.mapper.AppletsUserMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

自动注入失败 --- 容器中没有该对象 --- 查询AppletsUserMapper是否漏写注解

 Annotation-specified bean name 'quartzConfig' for bean class [com.sf.gis.app.framework.Scheduled.QuartzConfig] conflicts with existing, non-compatible bean definition of same name and class [com.sf.gis.hcfiregovern.config.QuartzConfig]

之前引入的JAR中也有quartz相关的配置

@ComponentScan(basePackages = {"com.sf"}, excludeFilters =
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = com.sf.gis.app.framework.Scheduled.QuartzConfig.class))

用户未认证,请登录如果是spring security

方法1:security.ignorePath=/api/**

方法2:

在COOKIE管理器中添加 

Spring报错:has been injected into other beans [xxx] in its raw version as part of a circular reference

Mybatis懒加载时,springMVC返回JSON异常 Could not write JSON: No serializer found for class

猜你喜欢

转载自blog.csdn.net/qq_24271537/article/details/115109977