摘要: 在eclipse中启动tomcat时,在console中输出的日志信息为红色,但其实程序并没有错误。原因是:tomcat默认的日志输出按jdk中的System.err来输出,而System.err在eclipse中,以红色显示。解决办法:Eclipse 中 System.err 的显示颜色可以通过 Window --> Preference --> Run/Debug --> Console 的 Standard Error text color 进行更改。JDK 日志具体的输出处理类需要在 %JRE_HOME%/lib/logging.properties 配置的 hand 阅读全文
posted @ 2012-10-16 23:58 完美科技 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*, resource-ref*,security- 阅读全文
posted @ 2012-10-16 23:46 完美科技 阅读(910) 评论(1) 推荐(1) 编辑