artifact is being deployed plese wait... Artifact部署Tomcat时出现停滞

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,一般为此条出现问题后导致的编译停滞

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值