错误合集
学习过程中遇到的问题,总结在这,欢迎交流
乄黎卿
人面不知何处去 桃花依旧笑春风
展开
-
Invalid content was found starting with element ‘{“http://xmlns.jcp.org/xml/ns/javaee“:init-param}‘.
Invalid content was found starting with element ‘{“http://xmlns.jcp.org/xml/ns/javaee”:init-param}’.解决方案:将标签写在标签之前<init-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:springmvc.xml</param-value原创 2021-04-13 15:30:32 · 280 阅读 · 0 评论 -
javax.management.InstanceNotFoundException: Catalina:type=Server的解决
javax.management.InstanceNotFoundException: Catalina:type=Server在运行tomcat时,会出现如下异常javax.management.InstanceNotFoundException: Catalina:type=Server我的解决方式是更改tomcat配置文件中的Host标签和端口号配置文件是位于tomcat安装目录下的conf目录中的server.xml文件host标签<Host name="localhost" a原创 2021-04-07 19:48:21 · 2450 阅读 · 0 评论 -
Exception in thread “main“ org.apache.ibatis.exceptions.PersistenceException的解决
Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException在使用mybatis开发的时候,会出现如下异常Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: 这是因为我们没有正确的配置数据库的驱动和连接信息。对于8.0以上的MySql数据库,需要在mybatis的主配置文件中修改下面两个信息<pr原创 2021-04-05 19:04:17 · 2323 阅读 · 1 评论