Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 5 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.
2022-04-19 18:16:41,434 [RMI TCP Connection(3)-127.0.0.1] INFO [org.quartz.impl.StdSchedulerFactory] - Quartz scheduler 'schedulerFactoryBean' initialized from an externally provided properties instance.
2022-04-19 18:16:41,434 [RMI TCP Connection(3)-127.0.0.1] INFO [org.quartz.impl.StdSchedulerFactory] - Quartz scheduler version: 2.2.3
2022-04-19 18:16:41,434 [RMI TCP Connection(3)-127.0.0.1] INFO [org.quartz.core.QuartzScheduler] - JobFactory set to: com.honhihb.modules.monitor.job.JobFactory@5a5e3e0b
2022-04-19 18:16:41,436 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 2147483647
2022-04-19 18:16:41,588 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.jms.connection.SingleConnectionFactory] - Established shared JMS Connection: PooledConnection { ConnectionPool[ActiveMQConnection {id=ID:DESKTOP-SXD-1506-1650363401458-1:1,clientId=null,started=false}] }
Artifact部署Tomcat时出现停滞,不报任何错误,鼠标放上去显示artifact is being deployed plese wait...
查阅了很多资料都没说明白怎么回事,有说pom内dependence冲突的等等,重新maven clean、install、reimport等等的都有
我也是刚开始用Java不是很明白,但是分析后认为是和pom.xml有关
发现explode的时候是根据pom.xml逐条connection的,而运行到最后一条[org.springframework.jms.connection.SingleConnectionFactory] - Established shared JMS Connection: PooledConnection { ConnectionPool[ActiveMQConnection {id=ID:DESKTOP-SXD-1506-1650363401458-1:1,clientId=null,started=false}] }时出现停滞
对应的pom.xml中的spring-jms
pom.xml中的下一条为activemq
所以应该是 activemq出了问题,查询后activemq服务没有启动,启动后运行正常
总结
查询编译时运行停滞对应的pom.xml中下一条dependency,一般为此条出现问题后导致的编译停滞