Jboss启动Spring应用时启动到一半没反应了

发布于 2021-11-28 11:41:04 字数 2892 浏览 721 评论 1

使用maven构建的Spring应用,在Jetty下运行正常,部署到JBoss AS 5的时候,启动到一半就卡住了(没反应了),各位帮忙看看,有遇到同样问题的,帮忙回答一下,谢谢~

2014-11-27 20:08:30,294 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'courseCategoryService' of type [class com.able.myuni.service.basic.impl.CourseCategoryServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,303 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'courseTermDao' of type [class com.able.myuni.dao.basic.impl.CourseTermDaoImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,307 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'courseTermService' of type [class com.able.myuni.service.basic.impl.CourseTermServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,316 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'labelDao' of type [class com.able.myuni.dao.commons.impl.LabelDaoImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,321 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'labelService' of type [class com.able.myuni.service.commons.impl.LabelServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,330 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'courseLabelDao' of type [class com.able.myuni.dao.basic.impl.CourseLabelDaoImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,335 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'courseLabelService' of type [class com.able.myuni.service.basic.impl.CourseLabelServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2014-11-27 20:08:30,345 INFO  [STDOUT] (main) 20:08:30 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Bean 'schoolDao' of type [class com.able.myuni.dao.school.impl.SchoolDaoImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

日志就输出到这里,然后 ... 然后就没有然后了~


如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柒夜笙歌凉 2021-11-30 00:50:53

找到原因了,是因为多了jar包的原因。

<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi-ooxml</artifactId>
			<exclusions>
				<!-- 此包会导致JBoss启动到一半时无反应 -->
				<exclusion>
					<groupId>stax</groupId>
					<artifactId>stax-api</artifactId>
				</exclusion>
				<!-- 此包导致JBoss启动时报错 -->
				<exclusion>
					<groupId>xml-apis</groupId>
					<artifactId>xml-apis</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

如注释中标注的部分,当然这个可能只适用于我所搭建的环境。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文