异常
爱笑的程序媛
java
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mysql表字段datetime,mybatis查询的时间格式正常,但接口返回的时间带有时区
查看数据库时区,正常 属性里面的的字段类型为 Date ,正常 解决方案: (1)在nacos里面的服务yml文件里加上了以下代码: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 这样就可以了。 (2)另外一个方案(个人觉得太繁琐了,出现一个字段就要加一个,不建议) ...原创 2020-03-13 18:33:58 · 822 阅读 · 0 评论 -
解决错误--找不到 main 方法, 请将 main 方法定义为: public static void main(String[] args) 否则 JavaFX 应用程序类必须扩展javaf
IDEA,在工具类里面加了个很简单的方法,启动的时候居然报错了! 错误: 在类 com.xxx.xxx.xxx.common.utils.StrUtil 中找不到 main 方法, 请将 main 方法定义为: public static void main(String[] args) 否则 JavaFX 应用程序类必须扩展javafx.application.Application ...原创 2019-12-10 18:06:30 · 3660 阅读 · 0 评论 -
解决错误-The Tomcat connector configured to listen on port 8080 failed to start.
启动服务报: *************************** APPLICATION FAILED TO START *************************** Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already ...原创 2019-12-02 17:27:37 · 1400 阅读 · 0 评论
分享