Git Product home page Git Product logo

Comments (5)

gondor avatar gondor commented on June 3, 2024

Have you gone to the website (http://openstack4j.com) and review the documentation. We have extensive examples including a quick getting started guide. The documentation is broken out into each OpenStack service type and covers each API.

from openstack4j.

selvivg avatar selvivg commented on June 3, 2024

I tried to list images using openstack 4j i am getting the following Exception.How do i fix this.I have downloaded the openstack4j without maven.
java.lang.NoClassDefFoundError: javax/ws/rs/ClientErrorException
at org.openstack4j.openstack.OSFactory.authenticate(OSFactory.java:67)
at Openstack.(Openstack.java:20)
at Openstack.main(Openstack.java:10)
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ClientErrorException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

from openstack4j.

gondor avatar gondor commented on June 3, 2024

You will need the jar with the dependencies included since your testing in an isolated environment. Here is the JAR you should use vs the one you downloaded. On the website in the "non-maven users" it will be the VERSION-withdeps for future reference.

http://openstack4j.com/downloads/openstack4j-1.0.1-withdeps.jar

from openstack4j.

gondor avatar gondor commented on June 3, 2024

selvivg - i'm closing this issue as I'm confident the above will solve your environmental issues you were seen. If the above does not work we can re-open this issue. Please let me know if this helped so I can add it to the FAQ for others. My email is [email protected]

from openstack4j.

selvivg avatar selvivg commented on June 3, 2024

Thanks issue resolved

from openstack4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.