![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小麻烦
文章平均质量分 69
GZ-豆浆油条
嘿!今天的你 过得还好吗?
展开
-
数据库映射赋值失败
记录我遇到的一个bug:从数据库查询数据后但是对象的属性却获取不到对应的值原创 2023-04-22 17:48:30 · 186 阅读 · 0 评论 -
mesos-master 启动时:Recovery failed: Failed to recover registrar: Failed to perform fetch within 1mins
背景master节点上安装了java8,mesos,zk。我的操作就是想在各个master节点启动mesos master,然后就遇到一下错误,记录一下。mesos-master节点master-1 192.168.137.20master-2 192.168.137.21master-3 192.168.137.22版本信息JDK 1.8zookeeper 3.4.10meso...原创 2019-12-11 23:04:54 · 2323 阅读 · 0 评论 -
nested exception is org.apache.ibatis.reflection.ReflectionException
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class entity.table.Order with invalid types (Integer,Integer,String...原创 2018-12-20 14:07:47 · 2279 阅读 · 0 评论 -
There is no getter for property named 'name' in 'class java.lang.String'
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'name' in 'class java.lang.String' at org.mybat...原创 2018-12-21 18:21:03 · 1237 阅读 · 1 评论 -
IDEA配置web项目的访问路径
背景今天在IDEA启动web项目的时候出现以下异常警告: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/official/] does not meet these criteria and has been changed to [...原创 2019-01-31 10:02:55 · 6127 阅读 · 0 评论 -
Caused by: java.lang.UnsupportedClassVersionError
背景在linux中部署项目时异常Caused by: java.lang.UnsupportedClassVersionError: 类路径 : Unsupported major.minor version 52.0 (unable to load class 类路径) at org.apache.catalina.loader.WebappClassLoaderBase.findClas...原创 2019-02-18 12:02:13 · 1325 阅读 · 0 评论 -
Sprinboot启动 Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/
版本Springboot:v2.1.4.RELEASE <fastjson.version>1.2.44</fastjson.version> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <...原创 2019-05-21 14:22:24 · 2815 阅读 · 0 评论 -
STS、Eclipse注释上写中文时往前缩进
原文见此问题如图解决转载 2019-05-16 19:51:45 · 1161 阅读 · 2 评论 -
关闭Tomcat时:registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
29-May-2019 18:36:25.178 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [XXX] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] ...转载 2019-05-31 22:22:54 · 3171 阅读 · 0 评论 -
org.springframework.http.converter.HttpMessageNotWritableException
@GetMapping("getUsers") public UserVo getUsers(){ List<UserVo> userVoList = iUserService.getUsers(); return userVoList.get(0); }2019-06-10 13:49:29.649 WARN 27876 ...原创 2019-06-10 13:54:45 · 7689 阅读 · 0 评论 -
java.lang.NoSuchMethodError: com.google.gson.GsonBuilder.setLenient()Lcom/google/gson/GsonBuilder;
背景在SpringBoot2.0.3.RELEASE的项目中文件中加入json的依赖后,启动出现以下的异常信息 &lt;dependency&gt; &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt; &lt;artifactId&gt;gson&lt;/artifactId&am原创 2018-10-30 08:52:58 · 14118 阅读 · 7 评论 -
vue开发遇到的问题
1.配置代理2.SpringMVC后台接收不到axios的post请求参数封装的axios请求方法 import axios from 'axios' post: (url ,data,callBack ,errorHandler)=&amp;gt;{ axios .post(addServerUrl(url),data) .then(callBack) ...转载 2018-09-16 17:48:36 · 180 阅读 · 0 评论 -
Tomcat解析路径
背景:在Tomcat在遇到的相对路径时自动解析为“自己指定的路径”。 1.找到你的Tomcat文件下的server.xml文件:eg:F:\Tomcat\conf\server.xml2.在Host标签中添加下面截图中的代码 2.1:修改前 2.2:修改后 在Tomcat在遇到的“’/upload”开头的相对路径(eg:/upload/images/item/headline/...原创 2018-03-16 16:37:56 · 801 阅读 · 1 评论 -
Tomcat:Several ports (8005, 8080, 8009)
启动Tomcat时:Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the ...原创 2018-03-13 11:54:51 · 847 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'COUNT'
我在idea执行查找总数的SQL语句时抛出了异常:Unknown column ‘COUNT’原因:在selec和count之间输入两个空格;这里只能保留一个空格。原创 2018-03-23 20:25:18 · 1052 阅读 · 0 评论 -
启动webpack-dev-server异常
启动webpack-dev-server时候出现异常Error: listen EADDRINUSE 127.0.0.1:8088 at Object._errnoException (util.js:1022:11) at _exceptionWithHostPort (util.js:1044:20) at Server.setupListenHandle [as ...原创 2018-04-08 19:40:31 · 874 阅读 · 0 评论 -
前后端分离如何解决跨域请求!
user-register.html:1 Failed to load http://localhost:8080/user/get_user_info:No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8088' is there...原创 2018-04-10 09:01:54 · 956 阅读 · 0 评论 -
请求异常总结
1.400Tomcat:提示400:The request sent by the client was syntactically incorrect浏览器提示: POST http://www.choisaaaa.XXXX.do 400 (Bad Request)因为项目中使用了nginx 特意查询nginx中400 (Bad Request),结果是可能请求头过大...原创 2018-05-17 01:16:21 · 2296 阅读 · 0 评论 -
Tomcat 异常:Context [] startup failed due to previous errors
启动Tomcat异常: 详细的异常信息:五月 15, 2018 9:49:05 下午 org.apache.catalina.core.StandardContext startInternal严重: One or more Filters failed to start. Full details will be found in the appropriate container log...转载 2018-05-15 21:58:26 · 1915 阅读 · 0 评论 -
SEVERE: Could not contact localhost:8005.
背景:在Linux中的启动Tomcat的时候无异常,但是通过脚本文件关闭Tomcat的时候,出现异常./shutdown.sh异常信息SEVERE: Could not contact localhost:8005. Tomcat may not be running.Jul 20, 2018 3:17:45 PM org.apache.catalina.startup.C...转载 2018-07-20 15:36:51 · 8215 阅读 · 6 评论 -
SpringBoot+Filter中@Autowired
https://blog.csdn.net/tyyytcj/article/details/73742000需求:在SpringBoot实现拦截器,并且需要自定义的filter类型自动装配一些对象自定义的过滤器类public class SessionExpireFilter implements Filter{ @Autowired private StringRed...转载 2018-08-14 23:12:59 · 4394 阅读 · 4 评论 -
Maven下载的第三方jar包导入到webapp lib下
背景:当运行一个maven构建的JavaWeb项目时,当出现ClassNotFoundException异常时,那么先检查Tomcat目录下项目中的lib文件夹有没有导入相应的第三方jar,如果发现maven下载的jar没有被导入。那么除了手动一个一个copy外,也可以试着用下面的方法。1.选择项目右键点击—>选择properties子选项—>Deployment Assembly—>Add原创 2018-01-11 11:07:48 · 2986 阅读 · 2 评论 -
Navicat连接MySQL数据库时:2003-Cannect to MySQL server on ''localhost(10061)"
1.Navicat连接MySQL数据库时:出现该错误提示“”2003-Cannect to MySQL server on ”localhost(10061)””,原因是MySQL57服务没有打开。 2.在任务管理器中开始服务“MySQL57”。待状态由“已停止”—->”正在运行”;再尝试连接数据库。...原创 2018-03-13 09:58:14 · 653 阅读 · 1 评论