Skip to content

/master/resilience4j/bulkhead mvn package fails with error #285

Description

@nagkumar

https://github.com/thombergs/code-examples/tree/master/resilience4j/bulkhead

F:\nag\DWork\osource\experiments\java\nfrs\resilience\resilience4j\sb\ex3\bulkhead>mvn build
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------< io.reflectoring.resilience4j.bulkhead:bulkhead >------------------------------------
[INFO] Building bulkhead 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] ---------------------------------------------------------[ jar ]----------------------------------------------------------
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  0.155 s
[INFO] Finished at: 2023-08-21T16:51:45+05:30
[INFO] --------------------------------------------------------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "build". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Availa
ble lifecycle phases are: pre-clean, clean, post-clean, validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, pro

F:\nag\DWork\osource\experiments\java\nfrs\resilience\resilience4j\sb\ex3\bulkhead>mvn package
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------< io.reflectoring.resilience4j.bulkhead:bulkhead >------------------------------------
[INFO] Building bulkhead 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] ---------------------------------------------------------[ jar ]----------------------------------------------------------
[INFO] 
[INFO] --- resources:3.0.2:resources (default-resources) @ bulkhead ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\nag\DWork\osource\experiments\java\nfrs\resilience\resilience4j\sb\ex3\bulkhead\src\main\resources
[INFO] skip non existing resourceDirectory F:\nag\DWork\osource\experiments\java\nfrs\resilience\resilience4j\sb\ex3\bulkhead\src\main\resources-filtered
[INFO]
[INFO] --- compiler:3.8.0:compile (default-compile) @ bulkhead ---
[WARNING] The POM for org.apache.maven.wagon:wagon-http:jar:1.0-beta-6 is invalid, transitive dependencies (if any) will not be available, enable verbose output (-X) for more details
[WARNING] The POM for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6 is invalid, transitive dependencies (if any) will not be available, enable verbose output (-X) for more details
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to F:\nag\DWork\osource\experiments\java\nfrs\resilience\resilience4j\sb\ex3\bulkhead\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /F:/nag/DWork/osource/experiments/java/nfrs/resilience/resilience4j/sb/ex3/bulkhead/src/main/java/io/reflectoring/resilience4j/bulkhead/utils/RequestTrackingIdPropagator.java:[3,39] cannot find symbol
  symbol:   class ContextPropagator
  location: package io.github.resilience4j.bulkhead
[ERROR] /F:/nag/DWork/osource/experiments/java/nfrs/resilience/resilience4j/sb/ex3/bulkhead/src/main/java/io/reflectoring/resilience4j/bulkhead/utils/RequestTrackingIdPropagator.java:[9,53] cannot find symbol
  symbol: class ContextPropagator
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  1.730 s
[INFO] Finished at: 2023-08-21T16:51:57+05:30
[INFO] --------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project bulkhead: Compilation failure: Compilation failure:
[ERROR] /F:/nag/DWork/osource/experiments/java/nfrs/resilience/resilience4j/sb/ex3/bulkhead/src/main/java/io/reflectoring/resilience4j/bulkhead/utils/RequestTrackingIdPropagator.java:[3,39] cannot find symbol
[ERROR]   symbol:   class ContextPropagator
[ERROR]   location: package io.github.resilience4j.bulkhead
[ERROR] /F:/nag/DWork/osource/experiments/java/nfrs/resilience/resilience4j/sb/ex3/bulkhead/src/main/java/io/reflectoring/resilience4j/bulkhead/utils/RequestTrackingIdPropagator.java:[9,53] cannot find symbol
[ERROR]   symbol: class ContextPropagator
[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 verbose output
[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

F:\nag\DWork\osource\experiments\java\nfrs\resilience\resilience4j\sb\ex3\bulkhead>            


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions