问题描述
- JAVA web项目放到服务器,tomcat打不开是怎么回事,下面是日志代码
-
2015-08-12 15:35:53 Commons Daemon procrun stdout initialized
15:36:02,622 [ localhost-startStop-1 ] [ INFO ]:510 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@6258f2b8: startup date [Wed Aug 12 15:36:02 CST 2015]; root of context hierarchy
15:36:02,685 [ localhost-startStop-1 ] [ INFO ]:315 - Loading XML bean definitions from class path resource [beans.xml]
15:36:04,018 [ localhost-startStop-1 ] [ INFO ]:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
15:36:04,085 [ localhost-startStop-1 ] [ INFO ]:598 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@23eed7b8: defining beans [goodsType,bossServiceDeal,clientServiceDeal,customerDeal,deliveryOrder,driverDeal,goodsService,orderDeal,menuContext,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,ds,sqlSessionFactory,txManager,jdbcTemplate,org.mybatis.spring.mapper.MapperScannerConfigurer#0,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,bossMapper,clientMapper,deliveryOrderMapper,driverMapper,ICustomerDAO,IGoodsDAO,IOrderDAO,purchaseOrderMapper]; root of factory hierarchy
解决方案
java web项目中使用tomcat的服务器,ajax时中文乱码的问题
解决方案二:
build 后就在根目录下 我想不是路径的问题
解决方案三:
你的tomcat根本就没有正常启动,当然打不开了,估计是框架初始化的时候遇到了问题,需要长时间执行导致tomcat一直在等待。
解决方案四:
就好是重新部署一下Tomcat,一步一步调试,找出错误!
解决方案五:
你贴的这段日志,我没有看见error的提示啊,都是info,你说是tomcat问题,把项目先剔除,然后只启动看行不行,排除是否是服务器问题
然后在发布项目,看是不是配置文件问题,项目大发布时间是慢
解决方案六:
tomcat能正常打开吗?
时间: 2024-12-30 17:56:38