首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

Tomcate,该如何解决

2012-05-27 
Tomcate2009-12-30 10:12:10 org.apache.catalina.core.AprLifecycleListener init信息: The Apache Tomca

Tomcate
2009-12-30 10:12:10 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;d:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_7.5.0.zmyeclipse75020090612\tomcat\bin
2009-12-30 10:12:10 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-12-30 10:12:10 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 681 ms
2009-12-30 10:12:10 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-12-30 10:12:10 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
2009-12-30 10:12:11 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2009-12-30 10:12:11 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization started
2009-12-30 10:12:12 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@4ce427: display name [Root WebApplicationContext]; startup date [Wed Dec 30 10:12:12 CST 2009]; root of context hierarchy
2009-12-30 10:12:12 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from file [E:\MyEclipse7.5\.metadata\.me_tcat\webapps\Gulebao\WEB-INF\classes\applicationContext.xml]
2009-12-30 10:12:13 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from file [E:\MyEclipse7.5\.metadata\.me_tcat\webapps\Gulebao\WEB-INF\classes\com\gulebao\member\Member-Action-Context.xml]
2009-12-30 10:12:13 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from file [E:\MyEclipse7.5\.metadata\.me_tcat\webapps\Gulebao\WEB-INF\classes\com\gulebao\member\Member-beans-Context.xml]
2009-12-30 10:12:13 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from file [E:\MyEclipse7.5\.metadata\.me_tcat\webapps\Gulebao\WEB-INF\classes\com\gulebao\member\Member-Common-Context.xml]
2009-12-30 10:12:13 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
信息: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@4ce427]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1f49969
2009-12-30 10:12:13 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1f49969: defining beans [sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,profileAction,membersAction,profileservice,profiledao,mdao,memberServices]; root of factory hierarchy
2009-12-30 10:12:14 org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
信息: Building new Hibernate SessionFactory

启动到此处就停止了,没有异常信息 使用 官方网站 和 myEclipse 自带的 同样的结果

tomcat 不挂项目 就没问题

[解决办法]
什么版本的tomcat啊,你换一个不就得了。。。
[解决办法]
你用的是myeclipse自带的吧?
自动导一个进来用会好点!
------解决方案--------------------


你用的Spring,整合的hibernate吧。。。。用的Annontioan,还是xml配的实体类。你去看看apliactionContext.xml文件

Annontioan是:<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">

xml的是:<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory 
">

热点排行