常见错误集合
程序员晓风
这个作者很懒,什么都没留下…
展开
-
又踩坑了!SpringMVC+ant+tomcat实现自动化打包,原来这么多坑
这个异常信息中会包含war包的完整路径,所以解决方式很简单,在idea中看这个路径下是否有war包,如果没有,说明是你往tomcat里添加exploded的时候选错了。背景是项目使用的是tomcat进行打包,没有使用Maven,需要构建一个ant执行的文件,用于后期可以在实际中使用,运行的平台是Windows。这是一个语法错误的问题,说明在xml文件中有错误的语法,导致不能执行语法。比如在这一次的项目中,访问的路径就已经发生了变化的,原来的是。能看到这个部分有一个错误的语法,只要将这个去掉就可以了。原创 2023-05-16 23:05:43 · 204 阅读 · 0 评论 -
解决IE8中不支持该属性或者方法的问题
实际在解决问题的时候,做到需要能将问题定位,定位好后去一步步解决问题,特别是在找不到问题所在的时候,考虑可能是引入的文件有问题或者是哪个地方的方法名参数写的错误了。总之就是,写代码一定要细心细心再细心。原创 2022-11-22 13:44:44 · 1102 阅读 · 0 评论 -
Java项目启动报错: Logback configuration error detected:
具体报错原因at com.gisquest.RfInfoApplication.main(RfInfoApplication.java:14)Exception in thread "main" java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_INFO] - Failed to crea原创 2022-02-17 14:49:58 · 4484 阅读 · 1 评论 -
在新建maven时候遇到错误: No archetype found in remote catalog. Defaulting to internal catalo
在新建maven时候遇到错误:No archetype found in remote catalog. Defaulting to internal catalog【在远程目录中没有找到原型。默认为内部编录。】解决办法产生的原因是使用了maven模版构建项目,要从网上获取模版,然而没有找到这个模版或者网络慢,导致获取失败。只需要关闭项目重新启动就行...原创 2021-05-14 14:50:52 · 786 阅读 · 0 评论 -
运行springboot时错误: Error starting ApplicationContext. To display the conditions report re-run your app
运行springboot时错误: Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled. ERROR 9400 — [ main] o.s.b.d.LoggingFailureAnalysisReporter :###错误截图:Error starting ApplicationContext. To display the co原创 2021-05-14 00:29:06 · 770 阅读 · 0 评论 -
maven常见错误:Dependency is duplicated in file(s):
在执行pom.xml文件时候,出现错误Dependency is duplicated in file(s): ``翻译为:依赖性在文件中已经存在错误原因是:这几个文件中都存在pom.xml文件,父pom.xml指定了多个作为子module,某一个子module 的pom又指定了父 或者 同级 作为自己的子module,导致出现冲突,仔细检查 每个pom的 parent 和 modules 删除掉多余的就可以了。解决办法:依赖只需要父pom或者子pom来定义一次就可以了。一般在父类pom中添原创 2021-04-22 18:31:10 · 9074 阅读 · 0 评论