Comments (5)
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.
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.
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.
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.
Thanks issue resolved
from openstack4j.
Related Issues (20)
- Vulnerable dependency: resteasy-jaxrs-3.1.4.Final.jar HOT 2
- The Openstack4j firewall only supports one firewall_policy_id?
- osClientV3.networking().port().list(portListOptions) can not use some optional parameters
- JDK11: Okhttp Exception
- How to get the flavor metadata ? I can't open "http://www.openstack4j.com/" HOT 4
- java.lang.NullPointerException when rebootGuest is called HOT 1
- hope to join the team to coding
- I hope to get created_time and updated_time field but can not
- "/v2.0/subnetpools" can not use
- trouble with setting region with openstack4J and OVH
- api not support query /{project_id}/volumes...
- can not use routers-conntrack-helper-ct-target-rules HOT 1
- Join us to solve any problems of this project
- extension this api
- openstack4j how to handle https HOT 1
- MapWithoutMetaPrefixFunction parse fails parsing medatata object HOT 1
- HostAggregateMetadata can't be removed HOT 1
- Empty documents stored on swift
- os.identity().projects().list() not working!!!
- NeutronNetQosPolicy isDefault JsonProperty Not effective
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstack4j.