Skip to content

Yaml.loadAll fails, (guava version update resolves) #300

@peterdnight

Description

@peterdnight

kubernetes java pom.xml guava version is 22.0, but I ran into issues when running Yaml.loadAll under java 9 because the Yaml.classes member variable is not initialized (Yaml.initModelMap line 104).

I was able to use the new api by adding the latest guava to my project pom (overriding the version specified by io.kubernetes.client-java:

		<dependency>
		  <groupId>com.google.guava</groupId>
		  <artifactId>guava</artifactId>
		  <version>25.1-jre</version>
		</dependency>

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