请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

springboot项目换成jar包出错

老师,我把pom.xml文件的jar改成war项目会出现打叉,但是找不到错误在哪里

正在回答

2回答

同学好,update maven project试试?并且启动项目会报什么错 影响功能使用吗?

0 回复 有任何疑惑可以回复我~
  • 提问者 慕田峪2884171 #1
    不影响使用,但是后台刚开始会出现红色信息:Tue Jan 30 08:15:23 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
    图片在我提问的问答下面
    回复 有任何疑惑可以回复我~ 2018-01-30 08:20:58
  • 提问者 慕田峪2884171 #2
    不用了,可以了。。。。。
    回复 有任何疑惑可以回复我~ 2018-01-30 08:25:12
  • 翔仔 回复 提问者 慕田峪2884171 #3
    这个貌似和war没关系 数据库连接字符串里加入ssl相关配置即可
    回复 有任何疑惑可以回复我~ 2018-01-30 09:38:30
提问者 慕田峪2884171 2018-01-30 08:21:55

https://img1.sycdn.imooc.com//szimg/5a6fba840001532111970188.jpg

就是会出现这些红色的信息,但是运行项目没有问题

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号