| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1142 人关注过本帖
标题:MyEclipse6.0.1+tomcat6.0+struts1.3+hibernate3.1如何配置啊??
只看楼主 加入收藏
yuanzhen_sh
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-10-26
结帖率:100%
收藏
已结贴  问题点数:20 回复次数:5 
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
jackieli2074
Rank: 6Rank: 6
来 自:上海
等 级:侠之大者
威 望:1
帖 子:183
专家分:494
注 册:2010-8-3
收藏
得分:10 
这是个什么意思啊? 包可以放在WEB-INF/lib目录下, 也可以在用的时候中导入(Build Path)

最好去网上搜索一个常用的SSH综合一起的包,不然冲突也够烦人的.
2010-10-26 09:21
ghjsmzy
Rank: 7Rank: 7Rank: 7
等 级:黑侠
威 望:1
帖 子:187
专家分:573
注 册:2009-6-17
收藏
得分:10 
大哥哥,这个问的也太大不吧,我觉得这样问太好、难回答的啊~建议把具体的问题贴出来,有细节的贴出来就好吧,自己还是把大的问题搞定了再说哈!毕竟这个查找的过程就是学习的过程嘛!
2010-10-26 12:22
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
西鄙人
Rank: 2
等 级:论坛游民
帖 子:36
专家分:12
注 册:2009-12-2
收藏
得分:0 
回复 4楼 yuanzhen_sh
应该是xml的jar包没有引入,尝试引入dom4j-1.6.1.jar
2010-11-19 10:05
雨季醉清风
Rank: 1
等 级:新手上路
帖 子:7
专家分:7
注 册:2010-9-4
收藏
得分:0 
哈哈    下载 myeclipse 7.5 全部集成了+tomcat6.0+struts1.3+hibernate3.1  


不用再为配置  浪费时间
2010-11-20 22:32
快速回复:MyEclipse6.0.1+tomcat6.0+struts1.3+hibernate3.1如何配置啊??
数据加载中...
 
   



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

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