myeclipse is an invalid character in resource name
今天在myeclispe中导入springboot项目。因为项目名是 主项目:模块 这样用分号隔开的。如果把分号去掉,就不报错了。
使用Druid连接oracle时报 java.sql.SQLException: not support oracle driver 5.1
2018-12-29 16:17:10.600 [main] ERROR c.alibaba.druid.pool.DruidDataSource 836 - {dataSource-1} init error java.sql.SQLException: ...
expected at least 1 bean which qualifies as autowire candidate for this dependency.解决方案
这个问题困扰了我2个小时,最后在底层慢慢看代码忽然才出来的。因为@Autowired的这个类,没有无参的构造函数!!!!
解决myeclipse中 保存代码时"resetting selection"耗时操作
因为用了springboot,最近每次一保存代码,eclipse总在同步的在做什么事,耗时在6-15秒。任务显示"resetting selecttion"保存操作 是我们常用的步骤,老是这样吃不消啊。于是分析和查...
java.lang.NoSuchMethodError: org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource
springboot中使用Redis报java.lang.NoSuchMethodError: org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource.<init>(Lorg/springframework/core/t...
Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataAccessException
跑springboot的时候遇到的异常Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataAccessException at java.net.URLClassLoader.findClass(URLC...
java.security.InvalidKeyException: IOException : Short read of DER length
今天支付服务器测试退款的时候爆了异常:Caused by: java.security.InvalidKeyException: IOException : Short read of DER length ...
MyEclipse输入法变成了繁体字的解决方案
在myecipse里中写代码的时候,习惯用 Ctrl+Shift+F去格式化代码。但是这个快捷键被搜狗输入法占用!!!!!所以我们的代码不光不会格式化,还变成了繁体字!!!!所以不要惊讶,为嘛代码敲着...
java.io.IOException: ObjectIdentifier mismatch: 2.16.840.1.101.3.4.2.1 解决方案
因为牵扯到 SHA256加密,所以爆了严重: Servlet.service() for servlet [springMVC] in context with path [/payNotifyTest] threw ex...
Parameter 0 of method create in com.xxx.Service required a bean of type '' that could not be found.
遇到这个错,我百度、谷歌。看到了这段话,我忽然就觉悟了。马丹,我的@overide 写成了 @Autowired!!!!!!
java.lang.IllegalStateException: Mapped class was not specified
将:new BeanPropertyRowMapper<PAY_CONFIG>()改成new BeanPropertyRowMapper<>(PAY_CONFIG.class)就可以解决了
微信商户基本账户余额不足,请充值后重新发起
<result_code><![CDATA[FAIL]]></result_code> <err_code><![CDATA[NOTENOUGH]]></err_code> <err_code_des><![CDATA[基本账户余额不足,请充...
java.lang.NoSuchMethodError: org.springframework.beans.BeanWrapper.setConversionService(Lorg/springframework/core/convert/ConversionService;)V
使用dubbo的时候报了错误。17:39:12.089 [main] DEBUG org.springframework.boot.logging.ClasspathLoggingApplicationListener - Application failed to&n...
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Ljava/util/List;)V
今天爆出的异常:Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Lj...
java.lang.NoSuchMethodError: xxxxxx Lorg/springframework/core/convert/ConversionService异常的解决方案
今天在使用Spring的jdbcTemplate时候,使用BeanPropertyRowMapper来指定实体类:List<ORDER_INFO> list = jdbcTemplate.query(SQL_QUERY_ORDER_BY_OUT_TRADE_NO, os,n...
HV000030: No validator could be found for constraint 'javax.validation.constraints.Pattern' validating type 'java.lang.Long'
今天做验证的时候报的错误。HV000030: No validator could be found for constraint 'javax.validation.constraints.Pattern' validatin...
No auto configuration classes found in META-IN F/spring.factories. If you are using a custom packaging, make sure that file is correct.
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to proces s import candidates for configuration class [maven.Te...
Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.co...
阿里云的神坑:The input parameter \"Timestamp\" that is mandatory for processing this request is not supplied
今天在研究阿里云的CDN接口的时候报的错误:{"Recommend":"https://error-center.aliyun.com/status/search?Keyword=IllegalTimestamp&source=PopGw","Message&quo...
微信卡券核销,errcode:72020 errmsg:limit consume in use limit hint
这本是CSDN里的某篇文章,我没能百度到,但却谷歌到了。问题描述:请问一下,我在调用微信的核销卡券接口核销卡券的时候,接口返回我的信息是 errcode:72020 errmsg:limit consume in use limit...
今天,有什么经验需要分享呢?
立即撰写