| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 310 人关注过本帖
标题:[原创]求解决异常的方法
只看楼主 加入收藏
xuxiangxun
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-10-19
收藏
 问题点数:0 回复次数:1 
[原创]求解决异常的方法
*/ --------------------------------------------------------------------------------------
*/ 出自: 编程中国 http://www.bc-cn.net
*/ 作者: xuxiangxun E-mail:xu_xiang_xun1987@sina.com QQ:371434406
*/ 时间: 2007-10-19 编程论坛首发
*/ 声明: 尊重作者劳动,转载请保留本段文字
*/ --------------------------------------------------------------------------------------


各位高手,我做了一个Struts的小程序,使用Apache提供的连接池,四层结构两个接口,两个工厂,其中一个是
插件。但是在启动TomeCat5.0的容器时,抛出了一个异常,我实在不能解决,希望哪位高手来看一看啊

2007-10-19 19:38:17 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2007-10-19 19:38:17 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2634 ms
2007-10-19 19:38:18 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-10-19 19:38:18 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2007-10-19 19:38:18 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-10-19 19:38:18 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2007-10-19 19:38:18 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:D:\Program Files\Tomcat 5.0.28\conf\Catalina\localhost\balancer.xml
2007-10-19 19:38:19 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:D:\Program Files\Tomcat 5.0.28\conf\Catalina\localhost\admin.xml
2007-10-19 19:38:20 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2007-10-19 19:38:20 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2007-10-19 19:38:21 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2007-10-19 19:38:23 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:D:\Program Files\Tomcat 5.0.28\conf\Catalina\localhost\manager.xml
2007-10-19 19:38:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL file:D:\Program Files\Tomcat 5.0.28\webapps\ROOT
2007-10-19 19:38:24 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL file:D:\Program Files\Tomcat 5.0.28\webapps\tomcat-docs
2007-10-19 19:38:24 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:D:\Program Files\Tomcat 5.0.28\webapps\jsp-examples
2007-10-19 19:38:24 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from URL file:D:\Program Files\Tomcat 5.0.28\webapps\servlets-examples
2007-10-19 19:38:25 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /webdav from URL file:D:\Program Files\Tomcat 5.0.28\webapps\webdav
2007-10-19 19:38:25 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /MyWeb.myeclipse.bak from URL file:D:\Program Files\Tomcat 5.0.28\webapps\MyWeb.myeclipse.bak
2007-10-19 19:38:25 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2007-10-19 19:38:25 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2007-10-19 19:38:26 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='com.yourcompany.struts.ApplicationResources', returnNull=true
2007-10-19 19:38:27 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /MyWeb from URL file:D:\Program Files\Tomcat 5.0.28\webapps\MyWeb
2007-10-19 19:38:28 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2007-10-19 19:38:28 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2007-10-19 19:38:29 org.apache.commons.digester.Digester error
严重: Parse Error at line 9 column 43: Attribute "value" is required and must be specified for element type "set-property".
org.xml.sax.SAXParseException: Attribute "value" is required and must be specified for element type "set-property".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2007-10-19 19:38:30 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='com.yourcompany.struts.ApplicationResources', returnNull=true
2007-10-19 19:38:30 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'
2007-10-19 19:38:31 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml'
2007-10-19 19:38:31 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2007-10-19 19:38:32 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:8009
2007-10-19 19:38:33 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/170 config=D:\Program Files\Tomcat 5.0.28\conf\jk2.properties
2007-10-19 19:38:33 org.apache.catalina.startup.Catalina start
信息: Server startup in 15412 ms
搜索更多相关主题的帖子: 接口 中国 编程论坛 异常 
2007-10-19 20:23
编辑01
Rank: 1
等 级:新手上路
帖 子:54
专家分:0
注 册:2007-9-28
收藏
得分:0 
编程中国原创计划及声明
  • 严肃性
    不求文章要写的多么经典,但一定要是自己的原创。求助、转载、广告等其他类型帖子冒充原创者,视用户等级禁言一段时间或封ID。

  • 本站首发
    原创帖必须是本站首发,在其他站点发布以后在本论坛发布的,我们拒绝承认为原创,一律视为转载。

  • 鼓励原创
    原创帖在发布以后,管理员通过网上划词搜索辨别是否为原创,如确定为原创,只要文章不是过于简陋就会推荐为本版精华,优秀的同时收录至本站技术教程频道。
2007-10-22 09:49
快速回复:[原创]求解决异常的方法
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019996 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved