标题:MyEclipse6.0.1+tomcat6.0+struts1.3+hibernate3.1如何配置啊??
取消只看楼主
yuanzhen_sh
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-10-26
结帖率:100%
已结贴  问题点数:20 回复次数:1 
MyEclipse6.0.1+tomcat6.0+struts1.3+hibernate3.1如何配置啊??
   请教高手,MyEclipse6.0.1+tomcat6.0+struts1.3+hibernate3.1如何配置啊??
   struts和hibernate的包都导入到哪里的?
搜索更多相关主题的帖子: 如何 hibernate 
2010-10-26 00:54
yuanzhen_sh
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-10-26
得分:0 
嗯,小弟是新手,好多不懂,多多指教。
我是在MyEclipse中新建了web工程,然后将现有的源程序导入到工程中,然后启动tomcat。
我把我启动tomcat的log信息贴上来,让高手们帮分析一下。

2010-10-26 23:25:12 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2010-10-26 23:25:12 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2010-10-26 23:25:13 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-10-26 23:25:13 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2010-10-26 23:25:13 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2213 ms
2010-10-26 23:25:13 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-10-26 23:25:13 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2010-10-26 23:25:13 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2010-10-26 23:25:15 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2010-10-26 23:25:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory demo
2010-10-26 23:25:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2010-10-26 23:25:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2010-10-26 23:25:16 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2010-10-26 23:25:16 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2010-10-26 23:25:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2010-10-26 23:25:18 org.apache.tomcat.util.digester.Digester fatalError
严重: Parse Fatal Error at line 200 column 2: The markup in the document following the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(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.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.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.tomcat.util.digester.Digester.parse(Digester.java:1642)
    at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1076)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4540)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
    at org.apache.catalina.core.StandardService.start(StandardService.java:519)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

2010-10-26 23:29



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-323991-1-1.html




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

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