
错误整理
ycwu3
这个作者很懒,什么都没留下…
展开
-
log4j:WARN No appenders could be found for logger
今天下午有空,做了简单的练习。尝试使用了Log4j (版本:apache-log4j-1.2.16)。过程中发生了错误:log4j:WARN No appenders could be found for logger 1、原因:把log4j的配置文件 log4j.properties 放错了。(当时为了文件结构清晰,为其配置文件建了一个包 wuyechun.myweb....原创 2011-07-23 12:54:21 · 139 阅读 · 0 评论 -
Eclipse-"File Search" has encounter a problem
在eclipse中使用搜索功能,发生错误:"File Search" has encounter a problem仔细看了一下自动跳出的错误日志(Error Log),发现:.......Resource is out of sync with the file system 原因:eclipse中的文件和workspace中文件不一致。(自己在workspace中用改了某个...原创 2011-07-23 12:56:26 · 371 阅读 · 0 评论 -
The selection is not within a valid module.
为了进行不同的版本设置,类似 myweb1.0,myweb 1.1等。一般做法为:1、在eclipse workspace中拷贝一份,如拷贝 myweb 1.0,然后更改项目名为 myweb1.1。2、在workspace 中导入myweb1.1,在tomcat下运行。此时,出现问题: The selection is not within a valid module. ...原创 2011-07-23 13:00:19 · 2175 阅读 · 0 评论 -
org.springframework.web.context.ContextLoaderServlet
一、错误:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet 二、背景:采用下面方式启动spring。<servlet> <servlet-name>contextConfigLocation</servlet-name&g...原创 2011-07-26 10:54:06 · 406 阅读 · 0 评论 -
Bad version number in .class file
myeclipse 6.5 导入项目,在jboss4下运行,报了如下错误: java.lang.UnsupportedClassVersionError: Bad version number in .class file 解决: 1.Window --> Preferences -->Java -->Installed JRES2.Serve...原创 2013-03-18 10:22:24 · 186 阅读 · 0 评论