随笔分类 -  异常

摘要:在pom中引入gson依赖,启动spring boot项目中报错 Description:An attempt was made to call the method com.google.gson.GsonBuilder.setLenient()Lcom/google/gson/GsonBuild 阅读全文
posted @ 2019-08-20 15:09 cat_fish 阅读(6388) 评论(0) 推荐(0)
摘要:RemoteSolrException: Expected mime type application/octet-stream but got text/html 解决方法: 在使用Tomcat部署Solr后,Collection1的地址为:http://ip:8080/solr/#/collec 阅读全文
posted @ 2018-05-28 23:31 cat_fish 阅读(427) 评论(0) 推荐(0)
摘要:处理方式: 1、对项目的.project文件去掉下面两个配置 org.eclipse.wst.jsdt.core.javascriptValidator 和 org.eclipse.wst.jsdt.core.jsNature 2、重启Eclipse后则正常。 阅读全文
posted @ 2018-05-28 12:20 cat_fish 阅读(11331) 评论(0) 推荐(1)
摘要:今天在整合springmvc与mybatis时,启动服务器遇到这样一个问题, by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required at or 阅读全文
posted @ 2018-04-27 12:19 cat_fish 阅读(8392) 评论(0) 推荐(0)
摘要:今天在使用spring3.2的时候,配置好注解开发后,运行出现异常 java.lang.illegalArgumentException 经查为 JRE 版本域spring3.2不兼容所致, 将项目JRE修改为1.6后 运行正常 阅读全文
posted @ 2018-04-01 16:08 cat_fish 阅读(2371) 评论(0) 推荐(0)