预览报表时提示无法显示网页,查看D:\eclipse\workspace\.metadata\.log文件后发现错误:
!MESSAGE Exception occurred starting the embedded application server.
!STACK 0
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: 
     Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
...

搜索plugins目录下的log文件,发现既有Log4j又有CommonsLogging,将plugins目录下的org.apache.jakarta_log4j_logging_version.jar移出Eclipse目录(移出Classpath),重启动Eclipse,就可以预览了。

其他Web服务器不能启动(如Eclipse的Help打不开,JBoss提示上述Log异常)的错误也可以参照以上方法解决。



版权所有 罗明
posted on 2006-04-09 18:44 罗明 阅读(6507) 评论(6)  编辑  收藏 所属分类: EclipseServer
Comments

只有注册用户登录后才能发表评论。


网站导航: