-
Task
-
Resolution: Done
-
Major
-
None
-
None
Error when running the integration testing:
emartins@mbp25 microprofile-rest-client % mvn verify -Pintegration-testing [INFO] Scanning for projects... [INFO] [INFO] ----------< org.wildfly.quickstarts:microprofile-rest-client >---------- [INFO] Building Quickstart: microprofile-rest-client 39.0.0.Final [INFO] from pom.xml [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ microprofile-rest-client --- [INFO] Rule 0: org.apache.maven.enforcer.rules.BannedRepositories passed [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ microprofile-rest-client --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-no-release-files) @ microprofile-rest-client --- [INFO] Rule 0: org.apache.maven.enforcer.rules.files.RequireFilesDontExist passed [INFO] [INFO] --- buildnumber:3.2.1:create (get-scm-revision) @ microprofile-rest-client --- [INFO] Executing: /bin/sh -c cd '/Users/emartins/git/quickstarts/wildfly/microprofile-rest-client' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /Users/emartins/git/quickstarts/wildfly/microprofile-rest-client [INFO] Storing buildNumber: d4c52374a37e215fa9453cbf111901910ff314bc at timestamp: 1768578096426 [INFO] Executing: /bin/sh -c cd '/Users/emartins/git/quickstarts/wildfly/microprofile-rest-client' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /Users/emartins/git/quickstarts/wildfly/microprofile-rest-client [INFO] Storing scmBranch: r39.0.0.Final [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ microprofile-rest-client --- [INFO] skip non existing resourceDirectory /Users/emartins/git/quickstarts/wildfly/microprofile-rest-client/src/main/resources [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ microprofile-rest-client --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- checkstyle:3.6.0:checkstyle (check-style) @ microprofile-rest-client --- [INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:2.0.0-M9 skin [INFO] Starting audit... Audit done. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ microprofile-rest-client --- [INFO] Copying 2 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ microprofile-rest-client --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ microprofile-rest-client --- [INFO] [INFO] --- war:3.4.0:war (default-war) @ microprofile-rest-client --- [INFO] Packaging webapp [INFO] Assembling webapp [microprofile-rest-client] in [/Users/emartins/git/quickstarts/wildfly/microprofile-rest-client/target/microprofile-rest-client] [INFO] Processing war project [INFO] Building war: /Users/emartins/git/quickstarts/wildfly/microprofile-rest-client/target/microprofile-rest-client.war [INFO] [INFO] --- source:3.2.1:jar-no-fork (attach-sources) @ microprofile-rest-client --- [INFO] Building jar: /Users/emartins/git/quickstarts/wildfly/microprofile-rest-client/target/microprofile-rest-client-sources.jar [INFO] [INFO] --- failsafe:3.5.4:integration-test (default) @ microprofile-rest-client --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.wildfly.quickstarts.microprofile.rest.client.MicroProfileRESTClientIT Jan 16, 2026 3:41:37 PM org.jboss.weld.bootstrap.WeldStartup <clinit> INFO: WELD-000900: 5.1.6 (Final) Jan 16, 2026 3:41:37 PM org.jboss.weld.environment.deployment.discovery.DiscoveryStrategyFactory create INFO: WELD-ENV-000020: Using jandex for bean discovery Jan 16, 2026 3:41:37 PM org.jboss.weld.bootstrap.WeldStartup startContainer INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously. Jan 16, 2026 3:41:37 PM org.jboss.weld.environment.se.WeldContainer fireContainerInitializedEvent INFO: WELD-ENV-002003: Weld SE container RESTEasy SE initialized Jan 16, 2026 3:41:37 PM org.jboss.resteasy.core.ResteasyDeploymentImpl processApplication INFO: RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class org.wildfly.quickstarts.microprofile.rest.client.MicroProfileRESTClientIT$TestApplication Jan 16, 2026 3:41:37 PM org.jboss.resteasy.core.ResteasyDeploymentImpl processApplication INFO: RESTEASY002200: Adding class resource org.wildfly.quickstarts.microprofile.rest.client.CountriesResource from Application class org.wildfly.quickstarts.microprofile.rest.client.MicroProfileRESTClientIT$TestApplication Jan 16, 2026 3:41:37 PM io.undertow.Undertow start INFO: starting server: Undertow - 2.3.22.Final Jan 16, 2026 3:41:37 PM org.xnio.Xnio <clinit> INFO: XNIO version 3.8.16.Final Jan 16, 2026 3:41:37 PM org.xnio.nio.NioXnio <clinit> INFO: XNIO NIO Implementation Version 3.8.16.Final [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.371 s <<< FAILURE! -- in org.wildfly.quickstarts.microprofile.rest.client.MicroProfileRESTClientIT [ERROR] org.wildfly.quickstarts.microprofile.rest.client.MicroProfileRESTClientIT -- Time elapsed: 0.371 s <<< ERROR! java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: 'io.undertow.server.session.SessionCookieConfig io.undertow.server.session.SessionCookieConfig.setPath(java.lang.String)' at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096) at org.wildfly.quickstarts.microprofile.rest.client.MicroProfileRESTClientIT.startTestContainer(MicroProfileRESTClientIT.java:51) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: java.lang.NoSuchMethodError: 'io.undertow.server.session.SessionCookieConfig io.undertow.server.session.SessionCookieConfig.setPath(java.lang.String)' at io.undertow.servlet.spec.SessionCookieConfigImpl.setPath(SessionCookieConfigImpl.java:130) at io.undertow.servlet.spec.ServletContextImpl.<init>(ServletContextImpl.java:138) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:154) at dev.resteasy.embedded.server.UndertowCdiEmbeddedServer.start(UndertowCdiEmbeddedServer.java:87) at org.jboss.resteasy.core.se.ResteasySeInstance.lambda$create$2(ResteasySeInstance.java:123) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at org.jboss.resteasy.concurrent.ContextualExecutors.lambda$runnable$2(ContextualExecutors.java:312) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] MicroProfileRESTClientIT.startTestContainer:51 ยป Execution java.lang.NoSuchMethodError: 'io.undertow.server.session.SessionCookieConfig io.undertow.server.session.SessionCookieConfig.setPath(java.lang.String)' [INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] [INFO] --- failsafe:3.5.4:verify (default) @ microprofile-rest-client --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.295 s [INFO] Finished at: 2026-01-16T15:41:38Z [INFO] ------------------------------------------------------------------------