![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发
文章平均质量分 66
fansili
这个作者很懒,什么都没留下…
展开
-
Java连接mysql中遇到的一些问题及解决方法
转载:http://blog.csdn.net/zdf19931993/article/details/513075430.要想用Java连接mysql数据库,首先装好JDK,配置好环境变量,将jdk*.*.*\lib放入classpath,将jdk*.*.*\bin放入path中(*.*.*表示版本号);其次安装好mysql数据库,然后下载连接数据库要用的驱动包,并配置环转载 2017-10-11 19:42:58 · 631 阅读 · 0 评论 -
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'userinfo.
安装了mysql5.7,用group by 查询时抛出如下异常:Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'userinfo.t_long.user_name' which is not functionally dependent on columns in GR原创 2017-11-29 13:27:53 · 82140 阅读 · 19 评论 -
mysql 日期操作 增减天数、时间转换、时间戳
mysql 日期操作 增减天数、时间转换、时间戳MySQL datediff(date1,date2):两个日期相减 date1 - date2,返回天数。 select datediff(‘2008-08-08’, ‘2008-08-01’); – 7 select datediff(‘2008-08-01’, ‘2008-08-08’); – -7一、MySQL 获得当前日期时间 函数1.1转载 2017-11-29 14:54:12 · 1325 阅读 · 0 评论 -
Tomcat部署Web应用方法总结
Tomcat部署Web应用方法总结原文地址:http://blog.csdn.net/yangxueyong/article/details/6130065 在Tomcat中部署Java Web应用程序有两种方式:静态部署和动态部署。 在下文中$CATALINA_HOME指的是Tomcat根目录。一、静态部署静态部署指的是我们在服务器启动之前部署我们的程序,只有当服务器启动之后,我们的Web应用转载 2017-11-06 11:52:45 · 208 阅读 · 0 评论 -
String,StringBuffer与StringBuilder的区别
String,StringBuffer与StringBuilder的区别简单介绍1、String 字符串常量String:字符串常量,字符串长度不可变。Java中String是immutable(不可变)的。 String类的包含如下定义:/** The value is used for character storage. */ private final char value[]; /转载 2017-11-27 14:32:24 · 256 阅读 · 0 评论 -
springboot项目浏览器报错:There was an unexpected error (type=Not Found, status=404).
springboot项目浏览器报错:There was an unexpected error (type=Not Found, status=404).报错信息springboot+thymeleaf项目,运行时页面报错信息如下:This application has no explicit mapping for /error, so you are seeing thi...转载 2017-12-23 15:40:20 · 129238 阅读 · 16 评论 -
springboot dao层注解失败
springboot dao层注解失败springboot 项目编译报错 报错信息如下Field ulevelDao in demo.service.impl.UlevelServiceImpl required a bean of type demo.dao.UlevelDao' that could not be found.Consider defining a bean of type '原创 2017-12-23 22:01:58 · 17363 阅读 · 3 评论