SUSE / salt-netapi-client

Java bindings for the Salt API
MIT License
85 stars 95 forks source link

the example run error #315

Open auqf opened 2 months ago

auqf commented 2 months ago

image the example run error

RobinAntoine commented 2 months ago

Hello, I have solution that error by adding dependencies to pom.xml `

com.google.code.gson
        <artifactId>gson</artifactId>
        <version>2.8.8</version> <!-- Update to the latest compatible version -->
    </dependency>
    <dependency>
        <groupId>com.google.inject</groupId>
        <artifactId>guice</artifactId>
        <version>5.1.0</version> <!-- Update to the latest compatible version -->
    </dependency>

`