Skip to content

Java server compilation fails with "cannot find symbol...method addLookupKeys(java.lang.String) #1211

@cliffbdf

Description

@cliffbdf

Bug report

Describe the bug

Compilation failure in Server.java at line 126:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project subscriptions-with-fixed-price: Compilation failure
[ERROR] /Users/cliffordberg/Projects/subscription-use-cases/fixed-price-subscriptions/server/java/src/main/java/com/stripe/sample/Server.java:[126,11] cannot find symbol
[ERROR] symbol: method addLookupKeys(java.lang.String)
[ERROR] location: class com.stripe.param.PriceListParams.Builder

A clear and concise description of what the bug is.

To Reproduce

Just run mvn compile

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Server environment [e.g. Go, Java, Node, PHP, Python, Ruby, TypeScript]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions