
改错
疯狂的仔
这个作者很懒,什么都没留下…
展开
-
报错:NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
1.情况:输入nvidia-smi报错:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.以及输入torch.cuda.is_available()返回false2.解决:只需执行两条命令就好:sudo apt-get install dkmssu原创 2022-02-17 19:33:09 · 590 阅读 · 0 评论 -
idea连接mysql报错:Establishing SSL connection without server‘s identity verification is not recommended.
问题:SatMay1521:33:28CST2021WARN:EstablishingSSLconnectionwithoutserver'sidentityverificationisnotrecommended.AccordingtoMySQL5.5.45+,5.6.26+and5.7.6+requirementsSSLconnectionmustbeestablishedbydefaultifexplicitoptionisn't...原创 2021-05-15 21:38:33 · 394 阅读 · 0 评论 -
遇到Caused by: java.lang.InstantiationException怎末解决
Caused by: java.lang.InstantiationException: cn.xnjt.model.emp at java.base/java.lang.Class.newInstance(Class.java:598) at util.SqlSession.selectList(SqlSession.java:34) at cn.xnjt.daoImpl.empDaoImpl.selEmp(empDaoImpl.java:22) at cn.xnjt.serviceImpl.s.原创 2021-04-30 16:55:24 · 1683 阅读 · 1 评论 -
出现closing inbound before receiving peer‘s close_notify错误,如何解决?
解决方法:将url="jdbc:mysql://localhost:3306/bank_db?serverTimezone=GMT%2B8"改为url="jdbc:mysql://localhost:3306/bank_db?serverTimezone=GMT%2B8&useSSL=false"即可。原创 2021-04-29 15:56:18 · 2553 阅读 · 1 评论