$ ./mvnw clean package -pl calc; and java -jar calc/target/calc-swarm.jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building calc 2016.12.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ calc ---
[INFO] Deleting /home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ calc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ calc ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ calc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ calc ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ calc ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:3.0.0:war (default-war) @ calc ---
[INFO] Packaging webapp
[INFO] Assembling webapp [calc] in [/home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/target/calc]
[INFO] Processing war project
[INFO] Webapp assembled in [85 msecs]
[INFO] Building war: /home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/target/calc.war
[INFO]
[INFO] --- wildfly-swarm-plugin:2016.12.0:package (default) @ calc ---
Resolving 66 out of 400 artifacts
[INFO] Repackaging .war: /home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/target/calc.war
[INFO] Repackaged .war: /home/tanabe/workspace/javaee-advent-calendar/2016/enhanced-jax-rs-client/calc/target/calc.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.908 s
[INFO] Finished at: 2016-12-15T23:20:51+09:00
[INFO] Final Memory: 33M/426M
[INFO] ------------------------------------------------------------------------
2016-12-15 23:20:52,828 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: Logging - STABLE org.wildfly.swarm:logging:2016.12.0
2016-12-15 23:20:52,844 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: Bean Validation - STABLE org.wildfly.swarm:bean-validation:2016.12.0
2016-12-15 23:20:52,845 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: CDI Configuration - STABLE org.wildfly.swarm:cdi-config:2016.12.0
2016-12-15 23:20:52,845 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: Undertow - STABLE org.wildfly.swarm:undertow:2016.12.0
2016-12-15 23:20:52,845 WARN [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: CDI JAX-RS API Enhancements - EXPERIMENTAL org.wildfly.swarm:cdi-jaxrsapi:2016.12.0
2016-12-15 23:20:52,845 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: Transactions - STABLE org.wildfly.swarm:transactions:2016.12.0
2016-12-15 23:20:52,845 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: CDI - STABLE org.wildfly.swarm:cdi:2016.12.0
2016-12-15 23:20:52,846 INFO [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction: JAX-RS - STABLE org.wildfly.swarm:jaxrs:2016.12.0
2016-12-15 23:20:52,919 WARNING [ServiceLoader] (main) Could not load service class org.wildfly.swarm.cdi.config.deployment.InjectStageConfigExtension
2016-12-15 23:20:54,030 INFO [org.wildfly.swarm] (main) WFSWARM0037: Configuration:
swarm.ajp.enable = false
swarm.ajp.port = 8009
swarm.ee.annotation-property-replacement = (unset)
swarm.ee.context-services.default.jndi-name = java:jboss/ee/concurrency/context/default
swarm.ee.context-services.default.use-transaction-setup-provider = false
swarm.ee.default-bindings-service.context-service = java:jboss/ee/concurrency/context/default
swarm.ee.default-bindings-service.datasource = (unset)
swarm.ee.default-bindings-service.jms-connection-factory = (unset)
swarm.ee.default-bindings-service.managed-executor-service = java:jboss/ee/concurrency/executor/default
swarm.ee.default-bindings-service.managed-scheduled-executor-service = java:jboss/ee/concurrency/scheduler/default
swarm.ee.default-bindings-service.managed-thread-factory = java:jboss/ee/concurrency/factory/default
swarm.ee.ear-subdeployments-isolated = (unset)
swarm.ee.jboss-descriptor-property-replacement = (unset)
swarm.ee.managed-executor-services.default.context-service = default
swarm.ee.managed-executor-services.default.core-threads = 5
swarm.ee.managed-executor-services.default.hung-task-threshold = 60000
swarm.ee.managed-executor-services.default.jndi-name = java:jboss/ee/concurrency/executor/default
swarm.ee.managed-executor-services.default.keepalive-time = 5000
swarm.ee.managed-executor-services.default.long-running-tasks = (unset)
swarm.ee.managed-executor-services.default.max-threads = 25
swarm.ee.managed-executor-services.default.queue-length = (unset)
swarm.ee.managed-executor-services.default.thread-factory = (unset)
swarm.ee.managed-scheduled-executor-services.default.context-service = default
swarm.ee.managed-scheduled-executor-services.default.core-threads = 5
swarm.ee.managed-scheduled-executor-services.default.hung-task-threshold = 60000
swarm.ee.managed-scheduled-executor-services.default.jndi-name = java:jboss/ee/concurrency/scheduler/default
swarm.ee.managed-scheduled-executor-services.default.keepalive-time = 3000
swarm.ee.managed-scheduled-executor-services.default.long-running-tasks = (unset)
swarm.ee.managed-scheduled-executor-services.default.thread-factory = (unset)
swarm.ee.managed-thread-factories.default.context-service = default
swarm.ee.managed-thread-factories.default.jndi-name = java:jboss/ee/concurrency/factory/default
swarm.ee.managed-thread-factories.default.priority = (unset)
swarm.ee.spec-descriptor-property-replacement = false
swarm.http.port = 8080
swarm.https.port = 8443
swarm.io.buffer-pools.default.buffer-size = (unset)
swarm.io.buffer-pools.default.buffers-per-slice = (unset)
swarm.io.buffer-pools.default.direct-buffers = (unset)
swarm.io.workers.default.io-threads = 100
swarm.io.workers.default.stack-size = (unset)
swarm.io.workers.default.task-keepalive = (unset)
swarm.io.workers.default.task-max-threads = 20
swarm.logging.add-logging-api-dependencies = (unset)
swarm.logging.console-handlers.CONSOLE.autoflush = (unset)
swarm.logging.console-handlers.CONSOLE.enabled = (unset)
swarm.logging.console-handlers.CONSOLE.encoding = (unset)
swarm.logging.console-handlers.CONSOLE.filter-spec = (unset)
swarm.logging.console-handlers.CONSOLE.formatter = (unset)
swarm.logging.console-handlers.CONSOLE.named-formatter = COLOR_PATTERN
swarm.logging.pattern-formatters.COLOR_PATTERN.color-map = (unset)
swarm.logging.pattern-formatters.COLOR_PATTERN.pattern = %K{level}%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n
swarm.logging.root-logger.filter-spec = (unset)
swarm.logging.use-deployment-logging-config = (unset)
swarm.request-controller.active-requests = (unset)
swarm.request-controller.max-requests = (unset)
swarm.request-controller.track-individual-endpoints = (unset)
swarm.security.deep-copy-subject-mode = (unset)
swarm.security.security-domains.other.classic-authentication.login-modules.RealmDirect.code = RealmDirect
swarm.security.security-domains.other.classic-authentication.login-modules.RealmDirect.module = (unset)
swarm.transactions.default-timeout = (unset)
swarm.transactions.enable-tsm-status = (unset)
swarm.transactions.jdbc-action-store-drop-table = (unset)
swarm.transactions.jdbc-action-store-table-prefix = (unset)
swarm.transactions.jdbc-communication-store-drop-table = (unset)
swarm.transactions.jdbc-communication-store-table-prefix = (unset)
swarm.transactions.jdbc-state-store-drop-table = (unset)
swarm.transactions.jdbc-state-store-table-prefix = (unset)
swarm.transactions.jdbc-store-datasource = (unset)
swarm.transactions.journal-store-enable-async-io = (unset)
swarm.transactions.jts = (unset)
swarm.transactions.node-identifier = (unset)
swarm.transactions.number-of-aborted-transactions = (unset)
swarm.transactions.number-of-application-rollbacks = (unset)
swarm.transactions.number-of-committed-transactions = (unset)
swarm.transactions.number-of-heuristics = (unset)
swarm.transactions.number-of-inflight-transactions = (unset)
swarm.transactions.number-of-nested-transactions = (unset)
swarm.transactions.number-of-resource-rollbacks = (unset)
swarm.transactions.number-of-timed-out-transactions = (unset)
swarm.transactions.number-of-transactions = (unset)
swarm.transactions.object-store-path = (unset)
swarm.transactions.object-store-relative-to = (unset)
swarm.transactions.port = 4712
swarm.transactions.process-id-socket-binding = (unset)
swarm.transactions.process-id-socket-max-ports = (unset)
swarm.transactions.process-id-uuid = true
swarm.transactions.recovery-listener = (unset)
swarm.transactions.socket-binding = txn-recovery-environment
swarm.transactions.statistics-enabled = (unset)
swarm.transactions.status-port = 4713
swarm.transactions.status-socket-binding = txn-status-manager
swarm.transactions.use-jdbc-store = (unset)
swarm.transactions.use-journal-store = (unset)
swarm.undertow.alias = (unset)
swarm.undertow.buffer-caches.default.buffer-size = (unset)
swarm.undertow.buffer-caches.default.buffers-per-region = (unset)
swarm.undertow.buffer-caches.default.max-regions = (unset)
swarm.undertow.default-security-domain = (unset)
swarm.undertow.default-server = (unset)
swarm.undertow.default-servlet-container = (unset)
swarm.undertow.default-virtual-host = (unset)
swarm.undertow.instance-id = (unset)
swarm.undertow.key-password = (unset)
swarm.undertow.keystore-password = (unset)
swarm.undertow.keystore-path = (unset)
swarm.undertow.servers.default-server.default-host = (unset)
swarm.undertow.servers.default-server.hosts.default-host.default-response-code = (unset)
swarm.undertow.servers.default-server.hosts.default-host.default-web-module = (unset)
swarm.undertow.servers.default-server.hosts.default-host.disable-console-redirect = (unset)
swarm.undertow.servers.default-server.http-listeners.default.allow-encoded-slash = (unset)
swarm.undertow.servers.default-server.http-listeners.default.allow-equals-in-cookie-value = (unset)
swarm.undertow.servers.default-server.http-listeners.default.always-set-keep-alive = (unset)
swarm.undertow.servers.default-server.http-listeners.default.buffer-pipelined-data = (unset)
swarm.undertow.servers.default-server.http-listeners.default.buffer-pool = (unset)
swarm.undertow.servers.default-server.http-listeners.default.bytes-received = (unset)
swarm.undertow.servers.default-server.http-listeners.default.bytes-sent = (unset)
swarm.undertow.servers.default-server.http-listeners.default.certificate-forwarding = (unset)
swarm.undertow.servers.default-server.http-listeners.default.decode-url = (unset)
swarm.undertow.servers.default-server.http-listeners.default.enable-http2 = (unset)
swarm.undertow.servers.default-server.http-listeners.default.enabled = (unset)
swarm.undertow.servers.default-server.http-listeners.default.error-count = (unset)
swarm.undertow.servers.default-server.http-listeners.default.http2-enable-push = (unset)
swarm.undertow.servers.default-server.http-listeners.default.http2-header-table-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.http2-initial-window-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.http2-max-concurrent-streams = (unset)
swarm.undertow.servers.default-server.http-listeners.default.http2-max-frame-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.http2-max-header-list-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-buffered-request-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-connections = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-cookies = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-header-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-headers = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-parameters = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-post-size = (unset)
swarm.undertow.servers.default-server.http-listeners.default.max-processing-time = (unset)
swarm.undertow.servers.default-server.http-listeners.default.no-request-timeout = (unset)
swarm.undertow.servers.default-server.http-listeners.default.processing-time = (unset)
swarm.undertow.servers.default-server.http-listeners.default.proxy-address-forwarding = (unset)
swarm.undertow.servers.default-server.http-listeners.default.read-timeout = (unset)
swarm.undertow.servers.default-server.http-listeners.default.receive-buffer = (unset)
swarm.undertow.servers.default-server.http-listeners.default.record-request-start-time = (unset)
swarm.undertow.servers.default-server.http-listeners.default.redirect-socket = (unset)
swarm.undertow.servers.default-server.http-listeners.default.request-count = (unset)
swarm.undertow.servers.default-server.http-listeners.default.request-parse-timeout = (unset)
swarm.undertow.servers.default-server.http-listeners.default.resolve-peer-address = (unset)
swarm.undertow.servers.default-server.http-listeners.default.secure = (unset)
swarm.undertow.servers.default-server.http-listeners.default.send-buffer = (unset)
swarm.undertow.servers.default-server.http-listeners.default.socket-binding = http
swarm.undertow.servers.default-server.http-listeners.default.tcp-backlog = (unset)
swarm.undertow.servers.default-server.http-listeners.default.tcp-keep-alive = (unset)
swarm.undertow.servers.default-server.http-listeners.default.url-charset = (unset)
swarm.undertow.servers.default-server.http-listeners.default.worker = (unset)
swarm.undertow.servers.default-server.http-listeners.default.write-timeout = (unset)
swarm.undertow.servers.default-server.servlet-container = (unset)
swarm.undertow.servlet-containers.default.allow-non-standard-wrappers = (unset)
swarm.undertow.servlet-containers.default.default-buffer-cache = (unset)
swarm.undertow.servlet-containers.default.default-encoding = (unset)
swarm.undertow.servlet-containers.default.default-session-timeout = (unset)
swarm.undertow.servlet-containers.default.directory-listing = (unset)
swarm.undertow.servlet-containers.default.disable-caching-for-secured-pages = (unset)
swarm.undertow.servlet-containers.default.eager-filter-initialization = (unset)
swarm.undertow.servlet-containers.default.ignore-flush = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.check-interval = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.development = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.disabled = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.display-source-fragment = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.dump-smap = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.error-on-use-bean-invalid-class-attribute = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.generate-strings-as-char-arrays = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.java-encoding = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.keep-generated = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.mapped-file = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.modification-test-interval = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.optimize-scriptlets = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.recompile-on-fail = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.scratch-dir = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.smap = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.source-vm = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.tag-pooling = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.target-vm = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.trim-spaces = (unset)
swarm.undertow.servlet-containers.default.jsp-setting.x-powered-by = (unset)
swarm.undertow.servlet-containers.default.max-sessions = (unset)
swarm.undertow.servlet-containers.default.proactive-authentication = (unset)
swarm.undertow.servlet-containers.default.session-id-length = (unset)
swarm.undertow.servlet-containers.default.use-listener-encoding = (unset)
swarm.undertow.servlet-containers.default.websockets-setting.buffer-pool = (unset)
swarm.undertow.servlet-containers.default.websockets-setting.dispatch-to-worker = (unset)
swarm.undertow.servlet-containers.default.websockets-setting.worker = (unset)
swarm.undertow.statistics-enabled = (unset)
swarm.weld.development-mode = (unset)
swarm.weld.non-portable-mode = (unset)
swarm.weld.require-bean-descriptor = (unset)
2016-12-15 23:20:54,721 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
2016-12-15 23:20:54,785 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Swarm 2016.12.0 (WildFly Core 2.2.1.CR1) starting
2016-12-15 23:20:54,816 INFO [org.wildfly.swarm] (MSC service thread 1-6) WFSWARM0029: Install MSC service for command line args: []
2016-12-15 23:20:55,337 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 15) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
2016-12-15 23:20:55,349 INFO [org.jboss.as.security] (ServerService Thread Pool -- 16) WFLYSEC0002: Activating Security Subsystem
2016-12-15 23:20:55,350 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 17) WFLYNAM0001: Activating Naming Subsystem
2016-12-15 23:20:55,355 INFO [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.6.Final
2016-12-15 23:20:55,383 INFO [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service
2016-12-15 23:20:55,393 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0003: Undertow 1.4.0.Final starting
2016-12-15 23:20:55,440 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.4.0.Final
2016-12-15 23:20:55,458 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.4.0.Final
2016-12-15 23:20:55,512 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
2016-12-15 23:20:55,559 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on [0:0:0:0:0:0:0:0]:8080
2016-12-15 23:20:55,687 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Swarm 2016.12.0 (WildFly Core 2.2.1.CR1) started in 1024ms - Started 86 of 96 services (19 services are lazy, passive or on-demand)
2016-12-15 23:20:55,890 INFO [org.wildfly.swarm.runtime.deployer] (main) deploying calc.war
2016-12-15 23:20:55,919 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "calc.war" (runtime-name: "calc.war")
2016-12-15 23:20:56,095 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.calc.war" is using a private module ("org.jboss.jts:main") which may be changed or removed in future versions without notice.
2016-12-15 23:20:56,221 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment calc.war
2016-12-15 23:20:56,380 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-5) HV000001: Hibernate Validator 5.2.4.Final
2016-12-15 23:20:56,522 INFO [org.jboss.weld.Version] (MSC service thread 1-5) WELD-000900: 2.3.5 (Final)
2016-12-15 23:20:56,544 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting
2016-12-15 23:20:56,729 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 5) WELD-000119: Not generating any bean definitions from org.wildfly.swarm.cdi.config.runtime.InjectStageConfigExtensionFactory because of underlying class loading error: Type org.wildfly.swarm.cdi.config.runtime.InjectStageConfigExtensionFactory from [Module "org.wildfly.swarm.cdi.config:deployment" from BootModuleLoader@70be0a2b for finders [BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap:main), ClasspathModuleFinder, ContainerModuleFinder(swarm.container:main), ApplicationModuleFinder(swarm.application:main), org.wildfly.swarm.bootstrap.modules.DynamicModuleFinder@2133814f]] not found. If this is unexpected, enable DEBUG logging to see the full error.
2016-12-15 23:20:56,734 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 6) WELD-000119: Not generating any bean definitions from calc.AdditionService_generated because of underlying class loading error: Type Failed to link calc.AdditionService_generated (Module "deployment.calc.war:main" from Service Module Loader): Failed to link calc.AdditionService (Module "deployment.calc.war:main" from Service Module Loader): org.wildfly.swarm.cdi.jaxrsapi.ServiceClient not found. If this is unexpected, enable DEBUG logging to see the full error.
2016-12-15 23:20:56,736 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 8) WELD-000119: Not generating any bean definitions from calc.AdditionService because of underlying class loading error: Type Failed to link calc.AdditionService (Module "deployment.calc.war:main" from Service Module Loader): org.wildfly.swarm.cdi.jaxrsapi.ServiceClient not found. If this is unexpected, enable DEBUG logging to see the full error.
2016-12-15 23:20:56,737 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 7) WELD-000119: Not generating any bean definitions from calc.CalcController because of underlying class loading error: Type Failed to link calc.AdditionService (Module "deployment.calc.war:main" from Service Module Loader): org.wildfly.swarm.cdi.jaxrsapi.ServiceClient not found. If this is unexpected, enable DEBUG logging to see the full error.
2016-12-15 23:20:56,738 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 1) WELD-000119: Not generating any bean definitions from org.wildfly.swarm.cdi.jaxrsapi.runtime.ServiceClientProcessor$ClientServiceFactory because of underlying class loading error: Type org.wildfly.swarm.cdi.jaxrsapi.runtime.ServiceClientProcessor$ClientServiceFactory from [Module "org.wildfly.swarm.cdi.jaxrsapi:deployment" from BootModuleLoader@70be0a2b for finders [BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap:main), ClasspathModuleFinder, ContainerModuleFinder(swarm.container:main), ApplicationModuleFinder(swarm.application:main), org.wildfly.swarm.bootstrap.modules.DynamicModuleFinder@2133814f]] not found. If this is unexpected, enable DEBUG logging to see the full error.
2016-12-15 23:20:56,738 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 3) WELD-000119: Not generating any bean definitions from org.wildfly.swarm.cdi.jaxrsapi.runtime.ServiceClientProcessor because of underlying class loading error: Type org.wildfly.swarm.cdi.jaxrsapi.runtime.ServiceClientProcessor from [Module "org.wildfly.swarm.cdi.jaxrsapi:deployment" from BootModuleLoader@70be0a2b for finders [BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap:main), ClasspathModuleFinder, ContainerModuleFinder(swarm.container:main), ApplicationModuleFinder(swarm.application:main), org.wildfly.swarm.bootstrap.modules.DynamicModuleFinder@2133814f]] not found. If this is unexpected, enable DEBUG logging to see the full error.
2016-12-15 23:20:57,309 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 7) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.wildfly.swarm.generated.WildFlySwarmDefaultJAXRSApplication
2016-12-15 23:20:57,321 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 7) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module "deployment.calc.war:main" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module "deployment.calc.war:main" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
at org.jboss.modules.Module.loadModuleClass(Module.java:606)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.processDeclaredFields(ResourceBuilder.java:876)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.processFields(ResourceBuilder.java:858)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.fromAnnotations(ResourceBuilder.java:764)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.rootResourceFromAnnotations(ResourceBuilder.java:709)
at org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>(POJOResourceFactory.java:30)
at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:76)
at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:409)
at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:250)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:250)
at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:133)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:546)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:517)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:559)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
... 6 more
2016-12-15 23:20:57,324 ERROR [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("add") failed - address: (("deployment" => "calc.war")) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient
Caused by: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
2016-12-15 23:20:57,325 ERROR [org.jboss.as.server] (main) WFLYSRV0021: Deploy of deployment "calc.war" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient
Caused by: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
2016-12-15 23:20:57,358 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping
2016-12-15 23:20:57,363 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment calc.war (runtime-name: calc.war) in 36ms
2016-12-15 23:20:57,364 INFO [org.jboss.as.controller] (main) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.deployment.unit."calc.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."calc.war".deploymentCompleteService]
service jboss.deployment.unit."calc.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."calc.war".deploymentCompleteService]
service jboss.deployment.unit."calc.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.deployment.unit."calc.war".deploymentCompleteService]
service jboss.deployment.unit."calc.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.deployment.unit."calc.war".deploymentCompleteService]
service jboss.undertow.deployment.default-server.default-host./ (missing) dependents: [service jboss.deployment.unit."calc.war".deploymentCompleteService]
WFLYCTL0186: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./
2016-12-15 23:20:57,366 ERROR [stderr] (main) java.lang.reflect.InvocationTargetException
2016-12-15 23:20:57,366 ERROR [stderr] (main) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-12-15 23:20:57,366 ERROR [stderr] (main) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2016-12-15 23:20:57,366 ERROR [stderr] (main) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-12-15 23:20:57,366 ERROR [stderr] (main) at java.lang.reflect.Method.invoke(Method.java:498)
2016-12-15 23:20:57,367 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.MainInvoker.invoke(MainInvoker.java:37)
2016-12-15 23:20:57,367 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.Main.run(Main.java:44)
2016-12-15 23:20:57,367 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.Main.main(Main.java:35)
2016-12-15 23:20:57,367 ERROR [stderr] (main) Caused by: org.wildfly.swarm.container.DeploymentException: WFSWARM0007: Deployment failed: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient
2016-12-15 23:20:57,367 ERROR [stderr] (main) Caused by: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
2016-12-15 23:20:57,367 ERROR [stderr] (main) at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:280)
2016-12-15 23:20:57,367 ERROR [stderr] (main) at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:95)
2016-12-15 23:20:57,368 ERROR [stderr] (main) at org.wildfly.swarm.Swarm.deploy(Swarm.java:474)
2016-12-15 23:20:57,368 ERROR [stderr] (main) at org.wildfly.swarm.Swarm.main(Swarm.java:611)
2016-12-15 23:20:57,368 ERROR [stderr] (main) ... 7 more
2016-12-15 23:20:57,368 ERROR [stderr] (main) Exception in thread "main" java.lang.reflect.InvocationTargetException
2016-12-15 23:20:57,368 ERROR [stderr] (main) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-12-15 23:20:57,368 ERROR [stderr] (main) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2016-12-15 23:20:57,369 ERROR [stderr] (main) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-12-15 23:20:57,369 ERROR [stderr] (main) at java.lang.reflect.Method.invoke(Method.java:498)
2016-12-15 23:20:57,369 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.MainInvoker.invoke(MainInvoker.java:37)
2016-12-15 23:20:57,369 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.Main.run(Main.java:44)
2016-12-15 23:20:57,369 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.Main.main(Main.java:35)
2016-12-15 23:20:57,369 ERROR [stderr] (main) Caused by: org.wildfly.swarm.container.DeploymentException: WFSWARM0007: Deployment failed: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient
2016-12-15 23:20:57,370 ERROR [stderr] (main) Caused by: java.lang.NoClassDefFoundError: Failed to link calc/AdditionService (Module \"deployment.calc.war:main\" from Service Module Loader): org/wildfly/swarm/cdi/jaxrsapi/ServiceClient"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
2016-12-15 23:20:57,370 ERROR [stderr] (main) at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:280)
2016-12-15 23:20:57,370 ERROR [stderr] (main) at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:95)
2016-12-15 23:20:57,370 ERROR [stderr] (main) at org.wildfly.swarm.Swarm.deploy(Swarm.java:474)
2016-12-15 23:20:57,370 ERROR [stderr] (main) at org.wildfly.swarm.Swarm.main(Swarm.java:611)
2016-12-15 23:20:57,370 ERROR [stderr] (main) ... 7 more
Created
December 15, 2016 14:22
-
-
Save emag/ce46287e53946e31215d4245ed019959 to your computer and use it in GitHub Desktop.
Error With Enhanced- JAX-RS Client
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment