Boa noite pessoal, to com um problema para subir a aplicação no JBoss.
O erro acontece depois que o servidor já está de pé, então descartei que esse fosse o problema.
Já tentei todos os métodos que eu conhecia, tutoriais, etc.
Será que alguém consegue me ajudar?
Segue o erro:
22:05:02,483 INFO [org.jboss.modules] (main) JBoss Modules version 1.9.0.Final
22:05:03,094 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
22:05:03,109 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
22:05:03,343 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) starting
22:05:04,748 INFO [org.wildfly.security] (ServerService Thread Pool – 27) ELY00001: WildFly Elytron version 1.8.0.Final
22:05:05,660 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute ‘security-realm’ in the resource at address ‘/core-service=management/management-interface=http-interface’ is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
22:05:05,723 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool – 30) WFLYCTL0028: Attribute ‘security-realm’ in the resource at address ‘/subsystem=undertow/server=default-server/https-listener=https’ is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
22:05:05,915 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment now_medDWP.war
22:05:05,962 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found now_medDWP.war in deployment directory. To trigger deployment create a file called now_medDWP.war.dodeploy
22:05:06,009 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
22:05:06,056 INFO [org.xnio] (MSC service thread 1-6) XNIO version 3.6.5.Final
22:05:06,071 INFO [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.6.5.Final
22:05:06,180 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool – 49) WFLYCLINF0001: Activating Infinispan subsystem.
22:05:06,212 INFO [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool – 58) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
22:05:06,227 INFO [org.jboss.as.naming] (ServerService Thread Pool – 62) WFLYNAM0001: Activating Naming Subsystem
22:05:06,227 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool – 51) WFLYRS0016: RESTEasy version 3.6.3.Final
22:05:06,227 WARN [org.jboss.as.txn] (ServerService Thread Pool – 70) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
22:05:06,258 INFO [org.jboss.as.security] (ServerService Thread Pool – 68) WFLYSEC0002: Activating Security Subsystem
22:05:06,258 INFO [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool – 61) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
22:05:06,274 INFO [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool – 59) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
22:05:06,321 INFO [org.jboss.as.webservices] (ServerService Thread Pool – 72) WFLYWS0002: Activating WebServices Extension
22:05:06,321 INFO [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=5.0.3.Final
22:05:06,336 INFO [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
22:05:06,368 INFO [org.jboss.as.jsf] (ServerService Thread Pool – 56) WFLYJSF0007: Activated the following JSF Implementations: [main]
22:05:06,430 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 2.0.19.Final starting
22:05:06,430 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 42) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
22:05:06,446 INFO [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool – 60) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
22:05:06,492 INFO [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
22:05:06,508 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
22:05:06,508 INFO [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.12.Final)
22:05:06,539 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = h2
22:05:06,711 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
22:05:06,758 INFO [io.smallrye.metrics] (MSC service thread 1-4) Converted [2] config entries and added [4] replacements
22:05:06,852 INFO [io.smallrye.metrics] (MSC service thread 1-4) Converted [3] config entries and added [14] replacements
22:05:07,024 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool – 71) WFLYUT0014: Creating file handler for path ‘C:\Users\HP\wildfly-16.0.0.Final/welcome-content’ with options [directory-listing: ‘false’, follow-symlink: ‘false’, case-sensitive: ‘true’, safe-symlink-paths: ‘[]’]
22:05:07,273 INFO [org.wildfly.extension.io] (ServerService Thread Pool – 50) WFLYIO001: Worker ‘default’ has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
22:05:07,305 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
22:05:07,305 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
22:05:07,476 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0012: Started server default-server.
22:05:07,507 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting
22:05:07,554 INFO [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
22:05:07,570 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.8.Final
22:05:07,570 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-7) WFLYDM0111: Keystore C:\Users\HP\wildfly-16.0.0.Final\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
22:05:07,617 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of “now_medDWP.war” (runtime-name: “now_medDWP.war”)
22:05:07,617 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory C:\Users\HP\wildfly-16.0.0.Final\standalone\deployments
22:05:07,726 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
22:05:07,741 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0493: EJB subsystem suspension complete
22:05:08,209 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
22:05:08,585 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
22:05:08,678 INFO [org.jboss.ws.common.management] (MSC service thread 1-5) JBWS022052: Starting JBossWS 5.2.4.Final (Apache CXF 3.2.7)
22:05:09,724 WARN [org.jboss.as.ee] (MSC service thread 1-8) WFLYEE0007: Not installing optional component main.java.com.frameworkonly.tilesapp due to an exception (enable DEBUG log level to see the cause)
22:05:10,037 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit.“now_medDWP.war”.undertow-deployment.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.deployment.unit.“now_medDWP.war”.undertow-deployment.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: main.java.com.frameworkonly.tilesapp from [Module “deployment.now_medDWP.war” from Service Module Loader]
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1088)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:275)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: main.java.com.frameworkonly.tilesapp from [Module “deployment.now_medDWP.war” from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:718)
… 9 more
22:05:10,100 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan ‘Infinity Minus ONE +2’ 9.4.8.Final
22:05:10,490 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool – 74) WFLYCLINF0002: Started client-mappings cache from ejb container
22:05:10,552 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“deploy”) failed - address: ([(“deployment” => “now_medDWP.war”)]) - failure description: {“WFLYCTL0080: Failed services” => {“jboss.deployment.unit.“now_medDWP.war”.undertow-deployment.UndertowDeploymentInfoService” => “java.lang.ClassNotFoundException: main.java.com.frameworkonly.tilesapp from [Module “deployment.now_medDWP.war” from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: main.java.com.frameworkonly.tilesapp from [Module “deployment.now_medDWP.war” from Service Module Loader]”}}
22:05:10,646 INFO [org.jboss.as.server] (ServerService Thread Pool – 43) WFLYSRV0010: Deployed “now_medDWP.war” (runtime-name : “now_medDWP.war”)
22:05:10,646 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.unit.“now_medDWP.war”.undertow-deployment.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: main.java.com.frameworkonly.tilesapp from [Module “deployment.now_medDWP.war” from Service Module Loader]
WFLYCTL0448: 2 additional services are down due to their dependencies being missing or failed
22:05:10,755 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
22:05:10,755 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
22:05:10,755 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
22:05:10,755 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) started (with errors) in 8958ms - Started 400 of 595 services (4 services failed or missing dependencies, 329 services are lazy, passive or on-demand)
Abraço!