![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
蠢哭系列
一些偶然碰到的问题。。。
想转IT的机械君
世事无穷,劳生有限...
展开
-
【蠢哭系列】Couldn’t connect to host, port:localhost, 25
Couldn’t connect to host, port:localhost, 25在测试通过邮件发送验证码的功能时,出现了如下错误:Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;我出现该问题的原因,简化后来说就是JavaMailSend类没有通原创 2020-06-10 22:35:27 · 4002 阅读 · 0 评论 -
【蠢哭系列】unknown custom element
尝试了一下前后端分离的开发模式,然后自己试着用Vue写了两个页面,调试看效果的时候一直报错unknown custom element,凡是用到element-ui的元素都不能被识别。 报错详情千篇一律都长下面这样:问题原因在于我对Vue这东西不理解,以为在new vue的时候把ElementUI传进去就可以了(不是很懂new Vue()这里传进去的参数是干啥的),也就是这样子:正确的做法是要单独申明使用element-ui,也就是要加上Vue.use(ElementUI),如下所示:只简单记录原创 2020-05-26 16:13:49 · 10877 阅读 · 0 评论