随笔 - 597  文章 - 4  评论 - 445  阅读 - 424万

随笔分类 -  错误集锦

上一页 1 2 3 4 5 6 7 下一页
The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".
摘要:1、mybatis 错误,xxx.xml配置文件报这样的错误,具体错误,如下所示: 1 The content of element type "resultMap" must match 2 3 "(constructor?,id*,result*,association*,collection* 阅读全文
posted @ 2020-11-25 22:09 别先生 阅读(2411) 评论(0) 推荐(0) 编辑
使用Maven创建Springboot的父子工程
摘要:1、在eclipse开发工具中创建一个新的Maven项目,项目类型为quickstart,如下所示: 然后项目类型为quickstart,如下所示: 然后设置Maven项目的信息(Group Id、Artifact Id、Version等),如下所示: 修改pom.xml配置文件,添加SpringB 阅读全文
posted @ 2020-10-25 11:41 别先生 阅读(4344) 评论(0) 推荐(0) 编辑
java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener问题解决
摘要:1、ssm框架,之前运行的好好的,换了一个电脑部署,发现启动报下面这个错误,如下所示: 1 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListene 阅读全文
posted @ 2020-08-19 15:58 别先生 阅读(566) 评论(0) 推荐(0) 编辑
Caused by: java.lang.ClassNotFoundException: Cannot find class: userMap
摘要:1、问题出现的情况是,spring整合mybatis的时候,将返回结果resultMap写成了resultType导致的。 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE mapper 3 PUBLIC "-//mybatis.org//D 阅读全文
posted @ 2020-08-01 20:42 别先生 阅读(2622) 评论(0) 推荐(0) 编辑
解决:Field xxMapper in xx.service.impl.xxServiceImpl required a bean of type 'xx.mapper.xxMapper'
摘要:1、启动 SpringBoot项目报错,使用的是Springboot、Spring、Mybatis连接Mysql数据库,启动SpringBoot项目报错,错误如下所示: 1 _____ .__/\ .__ 2 _/ ____\____ |__)/__ __|__|____ ____ 3 \ __\/ 阅读全文
posted @ 2020-02-28 14:10 别先生 阅读(8631) 评论(0) 推荐(0) 编辑
如何解决eclipse远程服务器上面的Rabbitmq连接超时问题?
摘要:1、嗯,问题呢,就是一开始安装好RabbitMQ,练习了一下RabbitMQ的使用,但是呢,过了一段时间,我来复习的时候,发现运行出现下面的错误了。后来想想,是自己学习微服务的时候,修改了/etc/hosts的映射。后来又修改回去了,是不是感觉日了🐕了。解决方法如下所示: eclipse远程连接服 阅读全文
posted @ 2019-11-21 23:01 别先生 阅读(1269) 评论(2) 推荐(0) 编辑
关于window10更新之后,15.5版本虚拟机不能使用的情况:检测更新版本
摘要:1、用了四五年的虚拟机,最近居然老提示检测更新版本,嗯,我将我的虚拟机由10版本,更新到了15.5版本,这也是网友说的,然而并灭有什么乱弄。window10系统自动更新,自动更新以后虚拟机就打不开了,然而我之前的做法都是将更新的卸载掉。如下所示: 卸载以后,重启电脑,来来回回多少遍,麻烦的一笔。 2 阅读全文
posted @ 2019-11-07 09:07 别先生 阅读(2026) 评论(1) 推荐(0) 编辑
Eclipse导入SpringBoot项目pom.xml第一行报错Unknown error
摘要:1、网上搜的都说是将SpringBoot2.1.5版本降级到SpringBoot2.1.4版本,感觉这治标不治本啊,以后想升级不是玩完了。 错误如下所示: 参考:https://ask.csdn.net/questions/764470?sort=id 解决这个问题只需要,在pom.xml 文件中的 阅读全文
posted @ 2019-10-27 16:59 别先生 阅读(7361) 评论(1) 推荐(3) 编辑
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
摘要:1、启动项目报如下所示错误: 如下图所示错误: 解决方法如下所示: 自己的项目上右键properties,Deployment Assembly -> Add -> Java Build Path Entries -> Next -> Maven Dependencies -> Finish -> 阅读全文
posted @ 2019-09-10 20:51 别先生 阅读(3346) 评论(0) 推荐(0) 编辑
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.username' in string value "${jdbc.username}"
摘要:1、启动dubbo的引用dubbo服务时候报下面这个错误,这是由于去找dubbo的发布服务未找到报的错误,所以先启动dubbo的发布服务即可。 2、然后发现我的dubbo的发布服务报了这个错误。 原来是我的db.properties配置文件里面配置错误了。所以还是仔细点吧,避免不少错误,跳过不少坑。 阅读全文
posted @ 2019-08-03 22:26 别先生 阅读(6091) 评论(0) 推荐(0) 编辑
java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory
摘要:1、启动项目报出这个错误,未找到响应的包,所以需要你将包从远程仓库下载到本地仓库即可。 添加依赖即可。 阅读全文
posted @ 2019-08-03 11:13 别先生 阅读(781) 评论(0) 推荐(0) 编辑
Child module D:\program\eclipse\eclipse\workspace_taotao\taotao-parent\taotao-manager-service of
摘要:1、淘淘商城的项目,报了这个错误,也是一脸懵逼。 1 [INFO] Scanning for projects... 2 [ERROR] [ERROR] Some problems were encountered while processing the POMs: 3 [ERROR] Child 阅读全文
posted @ 2019-07-31 21:31 别先生 阅读(775) 评论(0) 推荐(0) 编辑
springboot 使用 freemarker 无法正常跳转的问题?
摘要:1、springboot 使用 freemarker 无法正常跳转的问题? 参考:https://blog.csdn.net/Lin_xiaofeng/article/details/79122053 2、解决方法: 在pom文件里面引入依赖包。 我加上了@ResponseBody注解,根据自己情况 阅读全文
posted @ 2019-07-26 17:44 别先生 阅读(2063) 评论(0) 推荐(0) 编辑
nginx 启动报错 “/var/run/nginx/nginx.pid" failed” 解决方法
摘要:参考:https://www.cnblogs.com/yufeng218/p/8215421.html 问题描述: 重启Nginx报错, nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or direc 阅读全文
posted @ 2019-07-22 11:21 别先生 阅读(9723) 评论(1) 推荐(3) 编辑
慕课网微信点餐系统之商品信息加载不出来解决方案
摘要:参考1:https://blog.csdn.net/mingdsa/article/details/85319812 参考2:https://blog.csdn.net/weixin_39973810/article/details/87457640 1、上述链接少在我翻了很多页翻出来的,解决慕课网 阅读全文
posted @ 2019-07-15 16:26 别先生 阅读(809) 评论(2) 推荐(0) 编辑
Caused by: java.lang.ClassNotFoundException: org.springframework.data.repository.config.BootstrapMode
摘要:1、起因,启动SpringBoot2.0的时候报了这个错误。说找不到类,咱也是刚学SpringBoot2.0,咱也不懂,咱也不知道问谁,研究一翻,找不到原因就百度了。 参考链接:https://blog.csdn.net/sswqzx/article/details/87432287 报错如下所示: 阅读全文
posted @ 2019-07-12 19:36 别先生 阅读(5758) 评论(0) 推荐(0) 编辑
VM1059 bootstrap-table.min.js:7 Uncaught TypeError: Cannot read property 'classes' of undefined
摘要:参考链接:https://blog.csdn.net/liuqianspq/article/details/81868283 1、阳光明媚的下午,我在写CRUD,让数据传到前端的时候,解析的时候报错了,报错了,报错了,仔细排查一翻,没发现问题啊,百度一下吧,然后找到这个博客,就解决了,记录一下。 A 阅读全文
posted @ 2019-07-12 15:24 别先生 阅读(2991) 评论(0) 推荐(1) 编辑
SpringBoot2版本Caused by: java.sql.SQLSyntaxErrorException: Table 'dinner.hibernate_sequenc
摘要:1、SpringBoot2版本Caused by: java.sql.SQLSyntaxErrorException: Table 'dinner.hibernate_sequenc报错。 解决方法: SpringBoot的@GeneratedValue 是不需要加参数的,但是如果数据库控制主键自增 阅读全文
posted @ 2019-07-08 19:46 别先生 阅读(1149) 评论(0) 推荐(0) 编辑
Centos安装jdk1.8出现-bash: //usr/local/soft/jdk1.8.0_191/bin/javac: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录错误。
摘要:1、从来没有这么郁闷,之前安装都是好好的,自从将Centos升级到7.0版本,安装了jdk报了这个错误,也是郁闷的一毛,参考了一下百度的,记录一下。使用java命令还有java -version命令都是正常的,唯独使用javac报错按照道理来说自从jdk1.7以后可以不用配置classpath了啊。 阅读全文
posted @ 2019-07-07 16:32 别先生 阅读(1512) 评论(0) 推荐(0) 编辑
SpringBoot2.x|Thymeleaf页面不能正常载入css、js文件
摘要:1、实现实现WebMvcConfig配置类可以解决页面不能加载css,js的问题; 扩展SpringMvc,编写一个配置类(@Configuration),是WebMvcConfigurationAdapter抽象类类型(WebMvcConfigurer 接口类型的),且不能标注@EnableWeb 阅读全文
posted @ 2019-06-16 13:42 别先生 阅读(6274) 评论(1) 推荐(1) 编辑

上一页 1 2 3 4 5 6 7 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示