免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1310 | 回复: 0
打印 上一主题 下一主题

tomcat5.0,eclipse3.01+lomboz开发jsp,编译报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-02-25 13:42 |只看该作者 |倒序浏览
用eclipse 新建J2EE项目,自动生产的index.jsp..在lomboz view运行tomact5.0 出现一下错误..但把此文件直接复制到"C:\Tomcat 5.0\webapps\ROOT"可以正常显示..
源码如下:


  1. <html>;
  2.         <head>;
  3.                 <title>;Welcome</title>;
  4.         </head>;
  5.         <body>;
  6.                 <center>;Welcome</center>;
  7.         </body>;
  8. </html>;
复制代码

错误信息:

  1. Bootstrap: Class loader creation threw exception
  2. java.lang.ExceptionInInitializerError
  3.         at org.apache.catalina.startup.ClassLoaderFactory.<clinit>;(ClassLoaderFactory.java:63)
  4.         at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:103)
  5.         at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
  6.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
  7. Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))
  8.         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
  9.         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
  10.         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
  11.         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
  12.         at org.apache.tomcat.util.compat.JdkCompat.<clinit>;(JdkCompat.java:55)
  13.         ... 4 more
  14. Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
  15.         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
  16.         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
  17.         ... 8 more
  18. Caused by: java.lang.NullPointerException
  19.         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
  20.         ... 9 more
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP