Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

make java failes with "Cannot find symbol... IoArgoprojV1alpha1WorkflowStep" #5

Closed
crenshaw-dev opened this issue Mar 19, 2020 · 1 comment

Comments

@crenshaw-dev
Copy link
Contributor

Here's the failure in the build logs:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/mcrenshaw/src/argo-client-gen/java/src/main/java/io/argoproj/workflow/models/Template.java:[28,35] cannot find symbol
  symbol:   class IoArgoprojV1alpha1WorkflowStep
  location: package io.argoproj.workflow.models
[ERROR] /home/mcrenshaw/src/argo-client-gen/java/src/main/java/io/argoproj/workflow/models/Template.java:[169,21] cannot find symbol
  symbol:   class IoArgoprojV1alpha1WorkflowStep
  location: class io.argoproj.workflow.models.Template
[ERROR] /home/mcrenshaw/src/argo-client-gen/java/src/main/java/io/argoproj/workflow/models/Template.java:[891,35] cannot find symbol
  symbol:   class IoArgoprojV1alpha1WorkflowStep
  location: class io.argoproj.workflow.models.Template
[ERROR] /home/mcrenshaw/src/argo-client-gen/java/src/main/java/io/argoproj/workflow/models/Template.java:[897,37] cannot find symbol
  symbol:   class IoArgoprojV1alpha1WorkflowStep
  location: class io.argoproj.workflow.models.Template
[ERROR] /home/mcrenshaw/src/argo-client-gen/java/src/main/java/io/argoproj/workflow/models/Template.java:[912,20] cannot find symbol
  symbol:   class IoArgoprojV1alpha1WorkflowStep
  location: class io.argoproj.workflow.models.Template
[ERROR] /home/mcrenshaw/src/argo-client-gen/java/src/main/java/io/argoproj/workflow/models/Template.java:[917,34] cannot find symbol
  symbol:   class IoArgoprojV1alpha1WorkflowStep
  location: class io.argoproj.workflow.models.Template

Must have been a recent change in swagger.json. I'm looking into it, but @alexec if anything jumps to mind let me know.

@crenshaw-dev
Copy link
Contributor Author

Looking at the source, IoArgoprojV1alpha1WorkflowStep is expected to be in the generated models:

import io.argoproj.workflow.models.IoArgoprojV1alpha1WorkflowStep;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant