![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
hbyzzdw
这个作者很懒,什么都没留下…
展开
-
Cannot change version of project facet Dynamic Web Module to 3.0.解决方案
eclipse+maven,由于项目组用的tomcat7,不支持Web Module 3.1,但是每次maven update project时都会自动把org.eclipse.wst.common.project.facet.core.xml中的<installed facet="jst.web" version="3.0"/> version值由3.0变为3.1,导致不能把项目添加...原创 2019-04-01 15:15:37 · 153 阅读 · 0 评论 -
Parameter 'record' not found 解决方案
mybatis generator 自动生成表结构对象时,可能由于我的配置有问题,或导入的jar有问题,导致生成的mapper.java对象中存在两个param的注解导入,文件报错。解决办法:把spring-content.jar中的param删除,只需要入mybatis.jar中的param,问题解决。根因待跟踪。...原创 2019-04-01 16:06:54 · 1848 阅读 · 0 评论 -
mybatis generator :TemporalAccessor找不到
提示TemporalAccessor找不到,因为TemporalAccessor是jdk1.8才有的接口,mybatis generator的1.3.7版本需要jdk1.8的支持。解决方案:安装jdk1.8即可解决。有时项目要求jdk1.7,或者eclipse版本过低,不支持jdk1.8,则可以在eclipse初始化的配置文件中指定jdk版本。可网上搜索配置方法,网上一大堆。...原创 2019-04-01 16:12:49 · 452 阅读 · 0 评论 -
元素 'ref' 中不允许出现属性 'local'
错误信息如下:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [spring/quartzContext.xml]Offending...原创 2019-04-03 15:11:45 · 531 阅读 · 0 评论 -
Consider defining a bean of type 'java.lang.String' in your configuration
Consider defining a bean of type 'java.lang.String' in your configuration总结了网上的几种解决方案:1、多余的@autowired2、待实例化的类里必须有默认的构造方法(即没有参数的那种)Consider defining a bean of type 'XXXX' in your configur...原创 2019-04-03 16:33:20 · 23499 阅读 · 13 评论 -
JsonMappingException: Can not construct instance of java.util.Date from String value
错误信息:org.springframework.integration.MessageHandlingException: org.codehaus.jackson.map.JsonMappingException: Can not construct instance of java.util.Date from String value '2019-09-19 00:01:00':n...原创 2019-09-19 16:11:25 · 1568 阅读 · 1 评论 -
springboot启动报错: NamingException: No naming context bound to this class loader
springBoot启动报错:NamingException: No naming context bound to this class loader还有个StringManager classNotFound的错误错误原因:项目启动时引入了多个tomcat解决方案:mybatis-spring-boot-starter中直接去掉tomcat-jdbc ...原创 2019-10-08 15:48:24 · 1019 阅读 · 0 评论