Uploaded image for project: 'mod-pubsub'
  1. mod-pubsub
  2. MODPUBSUB-200

compilation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Development Team:
      Vega

      Description

      To reproduce:

      mvn -B install
      ...
      ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project mod-pubsub-client: Compilation failure: Compilation failure: 
      [ERROR] /home/adam/folio/mod-pubsub/mod-pubsub-client/src/main/java/org/folio/rest/client/PubsubClient.java:[22,8] duplicate class: org.folio.rest.client.PubsubClient
      [ERROR] /home/adam/folio/mod-pubsub/mod-pubsub-client/src/main/java/org/folio/util/pubsub/PubSubClientUtils.java:[78,58] cannot find symbol
      [ERROR]   symbol:   method close()
      [ERROR]   location: variable client of type org.folio.rest.client.PubsubClient
      [ERROR] /home/adam/folio/mod-pubsub/mod-pubsub-client/src/main/java/org/folio/util/pubsub/PubSubClientUtils.java:[108,58] cannot find symbol
      [ERROR]   symbol:   method close()
      [ERROR]   location: variable client of type org.folio.rest.client.PubsubClient
      [ERROR] /home/adam/folio/mod-pubsub/mod-pubsub-client/src/main/java/org/folio/util/pubsub/PubSubClientUtils.java:[190,38] cannot find symbol
      [ERROR]   symbol:   method close()
      [ERROR]   location: variable client of type org.folio.rest.client.PubsubClient
      [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
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :mod-pubsub-client
      

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              adam Adam Dickmeiss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases