薄荷加冰丶 2020-05-14 16:11 采纳率: 50%
浏览 656
已结题

求JBoss大神帮忙,springBoot项目,部署tomcat没问题。部署jboss就报错

jdk1.8

jboss-eap-7.2

报错信息:
图片说明

2020-05-14 15:28:50,968 INFO  [tk.mybatis.mapper.autoconfigure.MapperCacheDisabler] (ServerService Thread Pool -- 87) Clear tk.mybatis.mapper.version.VersionUtil CACHE cache.
2020-05-14 15:28:50,968 INFO  [tk.mybatis.mapper.autoconfigure.MapperCacheDisabler] (ServerService Thread Pool -- 87) Clear EntityHelper entityTableMap cache.
2020-05-14 15:28:51,372 INFO  [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] (ServerService Thread Pool -- 87) Initializing ExecutorService 'taskScheduler'
2020-05-14 15:28:51,594 INFO  [org.springframework.integration.endpoint.EventDrivenConsumer] (ServerService Thread Pool -- 87) Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2020-05-14 15:28:51,594 INFO  [org.springframework.integration.channel.PublishSubscribeChannel] (ServerService Thread Pool -- 87) Channel 'application.errorChannel' has 1 subscriber(s).
2020-05-14 15:28:51,597 INFO  [org.springframework.integration.endpoint.EventDrivenConsumer] (ServerService Thread Pool -- 87) started _org.springframework.integration.errorLogger
2020-05-14 15:28:51,599 INFO  [org.springframework.scheduling.quartz.SchedulerFactoryBean] (ServerService Thread Pool -- 87) Starting Quartz Scheduler now
2020-05-14 15:28:51,663 INFO  [org.springframework.scheduling.quartz.LocalDataSourceJobStore] (ServerService Thread Pool -- 87) ClusterManager: detected 1 failed or restarted instances.
2020-05-14 15:28:51,663 INFO  [org.springframework.scheduling.quartz.LocalDataSourceJobStore] (ServerService Thread Pool -- 87) ClusterManager: Scanning for instance "DESKTOP-C8VU1M31589441150514"'s failed in-progress jobs.
2020-05-14 15:28:51,705 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 87) Scheduler schedulerFactoryBean_$_DESKTOP-C8VU1M31589441328257 started.
2020-05-14 15:28:51,725 INFO  [com.travelsky.ServletInitializer] (ServerService Thread Pool -- 87) Started ServletInitializer in 9.172 seconds (JVM running for 29.237)
2020-05-14 15:28:51,767 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 87) 初始化上下文 '/cscm' 的 Mojarra 2.3.5.SP2-redhat-00001
2020-05-14 15:28:58,000 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 87) Critical error during deployment: : java.lang.NullPointerException
    at javax.el.CompositeELResolver.add(CompositeELResolver.java:117)
    at com.sun.faces.el.DemuxCompositeELResolver.addRootELResolver(DemuxCompositeELResolver.java:142)
    at com.sun.faces.el.ELUtils.addEL3_0_Resolvers(ELUtils.java:336)
    at com.sun.faces.el.ELUtils.buildFacesResolver(ELUtils.java:258)
    at com.sun.faces.application.ApplicationAssociate.initializeELResolverChains(ApplicationAssociate.java:503)
    at com.sun.faces.application.ApplicationImpl.performOneTimeELInitialization(ApplicationImpl.java:1405)
    at com.sun.faces.application.ApplicationImpl.getELResolver(ApplicationImpl.java:529)
    at javax.faces.application.ApplicationWrapper.getELResolver(ApplicationWrapper.java:621)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:256)
    at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
    at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)
    at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)
    at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
    at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
    at java.lang.Thread.run(Thread.java:748)
    at org.jboss.threads.JBossThread.run(JBossThread.java:485)

2020-05-14 15:28:58,004 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 87) MSC000001: Failed to start service jboss.deployment.unit."cscm.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."cscm.war".undertow-deployment: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
    at java.lang.Thread.run(Thread.java:748)
    at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:252)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
    ... 8 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:315)
    at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
    at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)
    at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)
    at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
    at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)
    ... 10 more
Caused by: java.lang.NullPointerException
    at javax.el.CompositeELResolver.add(CompositeELResolver.java:117)
    at com.sun.faces.el.DemuxCompositeELResolver.addRootELResolver(DemuxCompositeELResolver.java:142)
    at com.sun.faces.el.ELUtils.addEL3_0_Resolvers(ELUtils.java:336)
    at com.sun.faces.el.ELUtils.buildFacesResolver(ELUtils.java:258)
    at com.sun.faces.application.ApplicationAssociate.initializeELResolverChains(ApplicationAssociate.java:503)
    at com.sun.faces.application.ApplicationImpl.performOneTimeELInitialization(ApplicationImpl.java:1405)
    at com.sun.faces.application.ApplicationImpl.getELResolver(ApplicationImpl.java:529)
    at javax.faces.application.ApplicationWrapper.getELResolver(ApplicationWrapper.java:621)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:256)
    ... 21 more

2020-05-14 15:28:58,011 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: 操作("deploy") 失败 -- 地址:([("deployment" => "cscm.war")])-- 失败操作:{"WFLYCTL0080: 失败的服务" => {"jboss.deployment.unit.\"cscm.war\".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
    Caused by: java.lang.RuntimeException: java.lang.NullPointerException
    Caused by: java.lang.NullPointerException"}}
2020-05-14 15:28:58,019 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 42) WFLYSRV0010: 已部署的 "cscm.war"(runtime-name: "cscm.war")
2020-05-14 15:28:58,020 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: 服务状态报告
WFLYCTL0186: 启动失败的服务:      service jboss.deployment.unit."cscm.war".undertow-deployment: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException

2020-05-14 15:28:58,058 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: 恢复服务器
2020-05-14 15:28:58,060 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: 侦听 http://0.0.0.0:9990/management 的 HTTP 管理接口
2020-05-14 15:28:58,060 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: 管理控制台侦听于 http://0.0.0.0:9990
2020-05-14 15:28:58,063 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: JBoss EAP 7.2.1.GA (WildFly Core 6.0.12.Final-redhat-00001) started (with errors) in 35479ms - Started 570 of 758 services (2 services failed or missing dependencies, 327 services are lazy, passive or on-demand)
2020-05-14 15:38:23,596 INFO  [org.jboss.as.repository] (ServerService Thread Pool -- 94) WFLYDR0009: 内容 D:\jboss\jboss-eap-7.2\standalone\data
  • 写回答

2条回答 默认 最新

  • zqbnqsdsmd 2020-05-14 17:14
    关注
    评论

报告相同问题?

悬赏问题

  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境
  • ¥30 关于#java#的问题,请各位专家解答!
  • ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分合并
  • ¥20 pcf8563时钟芯片不启振
  • ¥20 pip2.40更新pip2.43时报错