- 博客(12)
- 资源 (2)
- 收藏
- 关注
原创 Result Maps collection does not contain value for xxx
错误信息: 结果com.jd.ecodd.param.concat.client.vo.QuerySceneTypeVo结果集不包含值java.lang.IllegalArgumentException: Result Maps collection does not contain value for com.jd.ecodd.param.concat.client.vo.QuerySce...
2018-12-18 16:28:08 8802
原创 There is no getter for property named 'type' in 'class java.lang.String'
错误信息:大体意思是说“type”这个参数没有getterorg.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'type' in 'class java.lang.String' at org.apache.ibatis.reflection.Reflector.ge...
2018-12-18 16:25:54 4295 2
原创 java判断某网页中是否包含某字符串
public class StringInWeb { public static void main(String[] args) throws IOException { webLinksContainKeyString("https://www.baidu.com/"); } /** * @Description: 在网页中查询一段字符串 ...
2018-12-12 21:02:32 808
原创 The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more ....
报错信息:java.sql.SQLException:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTi...
2018-12-11 20:19:40 302
原创 static,final,static final修饰变量到底有什么区别?
平时在项目中可能经常会用到一些常量,一般都定义成static final的,有时候可能会突然想到,到底staitc,final,static final定义的变量到底有什么关系呢?通过以下例子一起看一下:/** * @Description: 变量定义类 * @Author: yuhua * @Date: 2018/12/7 */public class FinalStatic...
2018-12-10 21:58:25 4944 1
原创 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile...
报错信息: 这是在maven打包时候报的一个错误。[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project myproject_web: Compilation failure: Compi...
2018-12-10 21:12:50 1078
原创 【mysql】mysql8.0安装教程(win10)
1.确认你的所用的系统是否支持安装mysql8.0//Windows支持系统版本Microsoft Windows 10 x86_64的 mysql8.0安装支持的平台查询:https://www.mysql.com/support/supportedplatforms/database.html2.下载安装包1)安装器安装(本文非使用安装器进行安装,本文是基于压缩包进行的安装...
2018-12-05 20:02:15 758
原创 Springboot+Mybatis+Druid+Maven多模块项目搭建
前段时间跟大家探讨过用springboot去搭单模块分层项目,现在跟大家看一看用springboot整合mybatis搭建多项目模块。整个项目总共分为以下几个模块://用来写共用部分springbootdemo-common//用来写持久层代码springbootdemo-dao//用来写业务层代码springbootdemo-service//可用来写展示层代码sprin...
2018-12-05 19:57:15 1487
原创 The service already exists! The current server installed:
报错信息:重新安装mysql的时候出现的提示E:\developsoftware\mysql-8.0.13-winx64\bin>mysqld installThe service already exists!The current server installed: E:\MySql\bin\mysqld MySQL报错原因:以前机器上装过mysql没有卸载干净。解决方...
2018-12-05 19:56:08 23165 14
原创 【问题解决】安装mysql8.0报错:Access denied for user ‘root‘@‘localhost‘
报错信息:E:\developsoftware\mysql-8.0.13-winx64\bin>mysql -uroot -pEnter password: ******ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)E:\developsoftware\mys...
2018-12-04 18:18:59 10714 15
原创 Caused by: java.net.ConnectException: Connection refused: connect
报错信息: Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.base/java.net.DualStackPlainSocketImpl.socke...
2018-12-04 17:15:22 10252
原创 【springboot】springboot自动(@Autowired)注入方式与自己new实例的区别
在上期讲到springboot搭建的多模块项目(module)Service自动注入(@Autowired)空指针错误解决的时候https://blog.csdn.net/Myuhua/article/details/84317582,跟大家说到要把为什么在new对象跟自动注入对象同时使用时会空指针,还有就算new对象怎么处理才不会出现空指针的问题给大家说一下,今天我就来还账了。谈到这个问题,...
2018-12-03 23:08:43 13106 4
IDEA集成GIT实现对代码版本库操作
2022-05-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人