问题
Shannon404
1000 工作,1000 休息,1000 留给自己。
展开
-
使用pip下载Twisted出现“ Read timed out”
已解决原创 2023-04-22 00:10:15 · 205 阅读 · 0 评论 -
jinja2.exceptions.TemplateNotFound:XXX.html
问题已解决原创 2023-03-04 00:19:47 · 289 阅读 · 0 评论 -
MyBatis第一个程序报错:org.apache.ibatis.exceptions.PersistenceException
Error building SqlSession.或Error querying database.错误今天进行第一个MyBatis程序,直接爆了。。。在与数据库进行连接时,轮番报出以上两个错误,千排万排之后才突然想起来,导入项目的mysql驱动包是直接从老师发的代码中搞得,我的mysql是8.0版本,对应的驱动包也应该是8.0及以上的版本,怎么会犯这么低级的错误啊!!!同时jdbc的驱动程序也要改变: <property name="driver" value="com.mysql.cj.j原创 2021-12-27 22:03:40 · 657 阅读 · 0 评论 -
在Spring使用配置容器时出现The prefix “XXX“ for element “XXX“ is not bound.
今天在Spring的动态代理配置容器中出现了“The prefix “context” for element “context:component-scan” is not bound.”与“The prefix “aop” for element “aop:aspectj-autoproxy” is not bound.”两个问题原因是没有将其具体网址填入在beans标签中第一个解决办法:xmlns:context="http://www.springframework.org/schema/co原创 2021-12-17 22:41:25 · 1450 阅读 · 1 评论 -
项目中空指针问题
CustmerList类中://修改前 public Customer[] getAllCustomers() { Customer[] customers=new Customer[total]; for(int i=0;i<total;i++) { customers[i]=customers[i]; } return customers; }//修改后 public Customer[] getAllCustomers() { Customer[] cust原创 2021-11-01 11:34:57 · 141 阅读 · 0 评论 -
mysql连接问题解决
在eclipse中导入项目后发现出现“Client does not support authentication protocol requested by server”错误,搜索后根据解决方法改变了mysql的加密方式为”mysql_native_password“,我是直接在Navicat中修改的继续运行该项目出现”java.sql.SQLException: Unknown character set index for field ‘255’ received from server.“错误原创 2021-07-17 18:35:31 · 168 阅读 · 0 评论 -
Tomcat启动失败,提示Server Tomcat v7.0 Server at localhost failed to start
这个真的是搞了我好长好长时间(前几天才配置完tomcat这才两个星期,今天就给我显示无法启动了,我真的要哭死)搜寻了很多方法,大概有以下几种:1、工作空间按照如下的文件路径打开:.metadata.plugins\org.eclipse.wst.server.core删除里面的temp文件夹,删除后重启eclipse,tomcat就可以用了。2、工作空间按照如下的文件路径打开:.metadata.plugins\org.eclipse.core.resources删除 .snap 文件3、打原创 2021-06-29 01:21:55 · 652 阅读 · 0 评论