異常
心与口不同
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2)的解决方法
java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2)的解决方法报的错误java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2).问题的原因解决的方法把注释去掉再重新运行,在xml文件中不能出现这两个注释,否则报错————————————转载 2021-03-03 09:50:03 · 1501 阅读 · 1 评论 -
linux中tomcat启动之后,过一会就自己挂了
linux中tomcat启动之后,过一会就自己挂了原因第一步:查看错误原因第二步:问题解决原因同一服务器部署多个tomcat时,存在端口号冲突的问题这里是我的错误日志:8005端口被占用因为我的服务器上装了多个tomcat,8005端口为远程停服务端口,8005端口被其他tomcat占用了导致出现了这个错误第一步:查看错误原因打开tomcat目录下的logs目录打开catalina.out文件,查找其中的报错信息第二步:问题解决打开tomcat目录下的conf目录,打开其中的server.原创 2020-12-22 13:40:35 · 1311 阅读 · 0 评论 -
Skipping MapperFactoryBean with name ‘xxxMapper‘ and ‘xxx.xxx.xxx.mapper.xxxxxMapper‘ nterface. Bean
Skipping MapperFactoryBean with name 'xxxMapper' and 'xxx.xxx.xxx.mapper.xxxxxMapper' nterface. Bean already defined with the same name!解决办法原文链接解决办法在启动主文件里面把@MapperScan(“com.tony.ssmmd.mapper”)注释掉就可以了,只保留配置文件com.xxx.xxx.config.MyBatiesPlusConfiguration里面原创 2020-09-23 10:12:37 · 7262 阅读 · 1 评论