随笔分类 - 各种异常问题集锦
tomcat failed to start / could not publish server configuration解决
摘要:有的时候,由于种种原因,eclipse里项目启动时会出现:tomcat failed to start。 那么如何解决呢? 1、需要在包浏览器上找到Servers: 2、打开server.xml: 3、如图,如果哪个项目出现“tomcat failed to start”,删除server.xml里
阅读全文
导入项目时jsp带红叉,或者实现类提示需要override接口的问题
摘要:现象:新导入项目文件上带红色叉。 原因多半是jdk或tomcat版本不一致造成。 需要右键properties,或者直接在Referenced Libraries上build path: 点击Configure Build Path: 如果当前IDE用的是jdk1.8,tomcat8.5则可以这么做
阅读全文
常见异常与总结——一句话的描述
摘要:1.ClassNotFoundException:当你觉得代码没有问题的时候可能是缺少某个包,在Spring容器需要依赖某些包才可以找到类。 2、The markup in the document following the root element must be well-formed.:解决
阅读全文
浙公网安备 33010602011771号