Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15406

ha-singleton-service quickstart fails to build

XMLWordPrintable

      After moving BOMs to current WildFly 25.0.0.Final-SNAPSHOT dependency management, and moving Quickstarts to such BOMs, the ha-singleton-service quickstart fails to build:

      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ------------< org.wildfly.quickstarts:ha-singleton-service >------------
      [INFO] Building Quickstart: HA Singleton Service 25.0.0.Final-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO] 
      [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ha-singleton-service ---
      [INFO] Deleting /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/target
      [INFO] 
      [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ ha-singleton-service ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ ha-singleton-service ---
      [INFO] 
      [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ ha-singleton-service ---
      [INFO] Executing: /bin/sh -c cd '/Users/emmartins/git/quickstarts/wildfly/ha-singleton-service' && 'git' 'rev-parse' '--verify' 'HEAD'
      [INFO] Working directory: /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service
      [INFO] Storing buildNumber: 6945836322c45a2fb8535b88b3189b2c8c91babe at timestamp: 1633358117839
      [INFO] Storing buildScmBranch: main
      [INFO] 
      [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ha-singleton-service ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.8.1-jboss-1:compile (default-compile) @ ha-singleton-service ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 3 source files to /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/target/classes
      [INFO] -------------------------------------------------------------
      [WARNING] COMPILATION WARNING : 
      [INFO] -------------------------------------------------------------
      [WARNING] bootstrap class path not set in conjunction with -source 8
      [INFO] 1 warning
      [INFO] -------------------------------------------------------------
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[30,38] cannot find symbol
        symbol:   class PassiveServiceSupplier
        location: package org.wildfly.clustering.service
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonServiceActivator.java:[30,38] cannot find symbol
        symbol:   class ActiveServiceSupplier
        location: package org.wildfly.clustering.service
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[51,39] cannot find symbol
        symbol:   class PassiveServiceSupplier
        location: class org.jboss.as.quickstarts.ha.singleton.service.QueryingService
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonServiceActivator.java:[54,38] cannot find symbol
        symbol:   class ActiveServiceSupplier
        location: class org.jboss.as.quickstarts.ha.singleton.service.SingletonServiceActivator
      [INFO] 4 errors 
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  2.254 s
      [INFO] Finished at: 2021-10-04T15:35:18+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1-jboss-1:compile (default-compile) on project ha-singleton-service: Compilation failure: Compilation failure: 
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[30,38] cannot find symbol
      [ERROR]   symbol:   class PassiveServiceSupplier
      [ERROR]   location: package org.wildfly.clustering.service
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonServiceActivator.java:[30,38] cannot find symbol
      [ERROR]   symbol:   class ActiveServiceSupplier
      [ERROR]   location: package org.wildfly.clustering.service
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[51,39] cannot find symbol
      [ERROR]   symbol:   class PassiveServiceSupplier
      [ERROR]   location: class org.jboss.as.quickstarts.ha.singleton.service.QueryingService
      [ERROR] /Users/emmartins/git/quickstarts/wildfly/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonServiceActivator.java:[54,38] cannot find symbol
      [ERROR]   symbol:   class ActiveServiceSupplier
      [ERROR]   location: class org.jboss.as.quickstarts.ha.singleton.service.SingletonServiceActivator
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      

              pferraro@redhat.com Paul Ferraro
              emartins@redhat.com Eduardo Martins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: