![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误日志
y_mk
I'm only happy when it rains.
展开
-
TNSLSNR.exe占用8080端口,tomcat无法启动
8080端口冲突 查看端口情况:netstat -ano找到对应PID原因:oracle10g 与 Tomcat端口冲突解决方法:SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/s...原创 2019-04-05 14:25:29 · 267 阅读 · 0 评论 -
Error querying database. Cause: java.sql.SQLException: The server time zone value '???ú±ê×??±??'
时区错误:解决方法:在mybatis.xml后加 “?serverTimezone=GMT%2B8” (设置时区)<property name="url" value="jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8" />mysql解决set global time_zon...原创 2019-04-17 21:43:36 · 1670 阅读 · 1 评论 -
[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c
解决方法show variables like "sql_mode";set sql_mode='';set sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';my.ini解决(mysql-8.0.13)sql-mode=""sql-mode="STRICT_ALL_TABLES,ERROR_...原创 2019-04-18 12:00:03 · 110 阅读 · 0 评论 -
javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer's close_notify
今天用 generator 逆向生成的时候遇到一个报错,虽然不影响生成但是看着就是有点难受(强迫症)** BEGIN NESTED EXCEPTION **javax.net.ssl.SSLExceptionMESSAGE: closing inbound before receiving peer's close_notifySTACKTRACE:javax.net.ssl....原创 2019-05-04 21:42:25 · 7092 阅读 · 0 评论 -
SSM整合中的SQLException: Mysql(8.0)db.properties配置
今天整合SSM没有想象中那么多错误,除去一些细节(比如忘写Autowired...)分享一下Mysql8.0 的注意事项db.propertiesjdbc.driver=com.mysql.cj.jdbc.Driver jdbc.host=localhostjdbc.database=testjdbc.userName=rootjdbc.passWord=123456jdbc...原创 2019-05-06 21:35:56 · 709 阅读 · 0 评论 -
Host ‘’###‘’ is not allowed to connect to this MySQL server
登录mysql查看user表mysql> use mysqlmysql> select host,user,password from user;发现host只有localhostmysql> select host,user,password from user;+-----------------------+------+-----------------...原创 2019-05-25 11:28:02 · 177 阅读 · 0 评论 -
Tomcat运行war包中文乱码问题
conf文件下server.xml<?xml version='1.0' encoding='utf-8'?>server.xml端口配置中加 URIEncoding="UTF-8"<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" ...原创 2019-06-07 20:30:27 · 2137 阅读 · 0 评论 -
Linux:yum instal gcc失败,couldn't resolve host 'mirrorlist.centos.org问题
yum instal gcc失败报错:14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" 不能访问百度(没网) 关闭防火墙也没效果万万没想到是之前改成了Manual,改回Automatic(DHCP)重启network,再执行yum命令就可以了(吐槽一下,百度各种修改配置文件害我倒腾了好久)...原创 2019-06-02 15:39:04 · 521 阅读 · 0 评论 -
2019.6.8错误记录:SpringBoot用了@SpringBootApplication却扫不到包 & Type javax.xml.bind.JAXBContext not present
SpringBoot用了@SpringBootApplication却扫不到包以为用了@SpringBootApplication就可以不写扫包了,没想到@SpringBootApplication只默认扫描该类包就该早点看源码,还倒腾了好久解决方法:如果App类不跟Controller类一起,还是的加扫包要么加:@ComponentScan("com.ymk.api.c...原创 2019-06-08 20:22:53 · 517 阅读 · 0 评论