The KeystoneProperties class is in the
"org.jclouds.openstack.keystone.config" package. If you have jclouds 2.1.0
you should have no issues to import all classes referenced in the example.

On 21 June 2018 at 08:40, jayshankar nair <n_jayshan...@yahoo.com> wrote:

> Hi,
>
> I am getting compilation errors. What is the header file for
> KeystonePropert
> ies.
>
> error: package org.jclouds.openstack.keystone does not exist
>   import org.jclouds.openstack.keystone.*;
>   ^
> JCloudsNova.java:22: error: cannot find symbol
> overrides.put(KeystoneProperties.KEYSTONE_VERSION, "3");
>               ^
>   symbol:   variable KeystoneProperties
>   location: class JCloudsNova
> JCloudsNova.java:23: error: cannot find symbol
> overrides.put(KeystoneProperties.SCOPE, "domain:default");
>               ^
>   symbol:   variable KeystoneProperties
>   location: class JCloudsNova
> JCloudsNova.java:55: error: cannot find symbol
>    .overrides(overrides)
>               ^
>   symbol:   variable overrides
>   location: class JCloudsNova
> 4 errors
>
> Is there a link where i can download v3 jcloud examples.
>
> Thanks,
> Jayshankar
>
>
> On Thursday, June 21, 2018, 11:05:09 AM GMT+5:30, Ignasi Barrera <
> n...@apache.org> wrote:
>
>
> This helps, thanks.
>
> It looks like your program is trying to connect to a Keystone V2 endpoint,
> but your environment uses the newer Keystone V3.
>
> You need to configure the context to use V3 as detailed here:
> https://jclouds.apache.org/guides/openstack/#keystone
>
> Could you change the context creation accordingly and see if it works?
>
>
> I.
>
>
> On Thu, Jun 21, 2018, 07:00 jayshankar nair <n_jayshan...@yahoo.com>
> wrote:
>
> Hello Ignasi/Andrea,
>
> I am still facing problem while running jCloudsNova.java. I am able to run
> openstack cli command.
> Openstack version
>
>
>  openstack --version
> openstack 3.15.0
>
> openstack endpoint list
> +----------------------------------+-----------+------------
> --+--------------+---------+-----------+--------------------
> ----------------------------+
> | ID                               | Region    | Service Name | Service
> Type | Enabled | Interface | URL
> |
> +----------------------------------+-----------+------------
> --+--------------+---------+-----------+--------------------
> ----------------------------+
> | 00055fa2240248bf9e693a1d446c7c59 | RegionOne | gnocchi      | metric
>    | True    | public    | http://192.168.0.12:8041
>  |
> | 0289010ada1446469e2ff14de09ff780 | RegionOne | aodh         | alarming
>    | True    | public    | http://192.168.0.12:8042
>  |
> | 09e23e6226b7415eaf17a5bf4d33eeb8 | RegionOne | ceilometer   | metering
>    | True    | internal  | http://192.168.0.12:8777
>  |
> | 0b574bc23cc54bd8a1266ed858a2e87f | RegionOne | neutron      | network
>     | True    | admin     | http://192.168.0.12:9696
>  |
> | 128768ce20c44b8998a949c6e73c3eb2 | RegionOne | swift        |
> object-store | True    | admin     | http://192.168.0.12:8080/v1/
> AUTH_%(tenant_id)s |
> | 13782b29b3a04325be59c9c36d24622f | RegionOne | placement    |
> placement    | True    | public    | http://192.168.0.12:8778/placement
>            |
> | 160ef2bc67534bc19b47df8328fdcf16 | RegionOne | ceilometer   | metering
>    | True    | admin     | http://192.168.0.12:8777
>  |
> | 19b9b5d72f4540f183c4ab574d3efd71 | RegionOne | cinderv3     | volumev3
>    | True    | admin     | http://192.168.0.12:8776/v3/%(tenant_id)s
> |
> | 1ded29d260604e9b9cf14706fa558a21 | RegionOne | cinderv3     | volumev3
>    | True    | internal  | http://192.168.0.12:8776/v3/%(tenant_id)s
> |
> | 26698f851ccc44b99d1f3601b9917d9b | RegionOne | keystone     | identity
>    | True    | admin     | http://192.168.0.12:35357/v3
>  |
> | 2bea479cb5ea4d128ce9e7f8009be760 | RegionOne | nova         | compute
>     | True    | admin     | http://192.168.0.12:8774/v2.1/%(tenant_id)s
>   |
> | 3066119a6c9147fa8e4626725c3a34ad | RegionOne | neutron      | network
>     | True    | public    | http://192.168.0.12:9696
>  |
> | 3912bdc1f8cd4014bb9bfc8292c9ee7c | RegionOne | glance       | image
>     | True    | internal  | http://192.168.0.12:9292
>  |
> | 4243ebf7df0f46fbb062b828d7147ca4 | RegionOne | neutron      | network
>     | True    | internal  | http://192.168.0.12:9696
>  |
> | 491809ebcf99486bb050f3dd7c54e91e | RegionOne | swift        |
> object-store | True    | internal  | http://192.168.0.12:8080/v1/
> AUTH_%(tenant_id)s |
> | 59c73f5064b7494faa5ca3b389403746 | RegionOne | cinderv2     | volumev2
>    | True    | public    | http://192.168.0.12:8776/v2/%(tenant_id)s
> |
> | 59d32fdf1d01465bbfeb30291cf3edb0 | RegionOne | swift        |
> object-store | True    | public    | http://192.168.0.12:8080/v1/
> AUTH_%(tenant_id)s |
> | 6b5f1f96bef1441fa16947e3d2578732 | RegionOne | cinder       | volume
>    | True    | admin     | http://192.168.0.12:8776/v1/%(tenant_id)s
> |
> | 724aafb2db954e3e867f841f790fb8b7 | RegionOne | keystone     | identity
>    | True    | internal  | http://192.168.0.12:5000/v3
> |
> | 7b149ecd13ed4278bc45e106b1d7fcf2 | RegionOne | glance       | image
>     | True    | public    | http://192.168.0.12:9292
>  |
> | 7d093993eeb34acdb9c7c1afe9c77144 | RegionOne | glance       | image
>     | True    | admin     | http://192.168.0.12:9292
>  |
> | 88431c7c2f67409fb0fc41fe68ec3ead | RegionOne | gnocchi      | metric
>    | True    | internal  | http://192.168.0.12:8041
>  |
> | 8bef913a13f642e58458e9b098faa320 | RegionOne | keystone     | identity
>    | True    | public    | http://192.168.0.12:5000/v3
> |
> | 99acbe33c97b4ca382d92a6d661adb44 | RegionOne | placement    |
> placement    | True    | internal  | http://192.168.0.12:8778/placement
>            |
> | a3913c23488e456caee2dd66c8e584bf | RegionOne | gnocchi      | metric
>    | True    | admin     | http://192.168.0.12:8041
>  |
> | addbbfdb56a244eba884e3995a548b16 | RegionOne | cinderv2     | volumev2
>    | True    | admin     | http://192.168.0.12:8776/v2/%(tenant_id)s
> |
> | babb14683847492eb3129535bda12f78 | RegionOne | nova         | compute
>     | True    | internal  | http://192.168.0.12:8774/v2.1/%(tenant_id)s
>   |
> | bc01b0a1074646f1aa534fa5f366189e | RegionOne | aodh         | alarming
>    | True    | admin     | http://192.168.0.12:8042
>  |
> | c3f429a1a1bb4eef9feb9c792e8aa45c | RegionOne | placement    |
> placement    | True    | admin     | http://192.168.0.12:8778/placement
>            |
> | c4021436be5845cf8efa797f27e48b63 | RegionOne | cinderv3     | volumev3
>    | True    | public    | http://192.168.0.12:8776/v3/%(tenant_id)s
> |
> | c82c93df6ffa4780a1e4c8912877f710 | RegionOne | nova         | compute
>     | True    | public    | http://192.168.0.12:8774/v2.1/%(tenant_id)s
>   |
> | cdfdb096abf844348f8ff62187e68305 | RegionOne | ceilometer   | metering
>    | True    | public    | http://192.168.0.12:8777
>  |
> | d9dfe7db65824874af7a093f16a7ebd0 | RegionOne | cinder       | volume
>    | True    | internal  | http://192.168.0.12:8776/v1/%(tenant_id)s
> |
> | f44419832a474e3fa08716945b520219 | RegionOne | cinderv2     | volumev2
>    | True    | internal  | http://192.168.0.12:8776/v2/%(tenant_id)s
> |
> | fcd3113e3246472f812b2b0c5cc35388 | RegionOne | aodh         | alarming
>    | True    | internal  | http://192.168.0.12:8042
>  |
> | fed975472ca849b0a4d39570c3ab941b | RegionOne | cinder       | volume
>    | True    | public    | http://192.168.0.12:8776/v1/%(tenant_id)s
> |
> +----------------------------------+-----------+------------
> --+--------------+---------+-----------+--------------------
> ----------------------------+
>
>
> The command nova list is not present.
>
> Are there any other api examples related to JClouds.
>
> Thanks,
> Jayshankar
>
> On Wednesday, June 20, 2018, 7:13:01 PM GMT+5:30, Ignasi Barrera <
> n...@apache.org> wrote:
>
>
> Hi Jayshankar,
>
> jclouds supports OpenStack, in general. If you have an OpenStack cloud,
> you should be able to connect jclouds to it.
>
> This said, there are many OpenStack distributions that come with different
> versions and configurations for the OpenStack Services. In order to connect
> jclouds to it, you first need to understand the platform you are deploying.
> How authentication is done, and which versions of the OpenStack Services
> are exposed.
>
> If you can do that research to know better your platform and can provide
> that information on this list, I'm sure we'll be able to help you get it
> working.
>
>
>
> Regards,
>
> I.
>
>
> On 19 June 2018 at 12:18, Andrea Turli <andrea.tu...@gmail.com> wrote:
>
> Sorry not familiar with packstack, but glad you fixed the maven dependency
> issues.
>
>
>
> On Tue, Jun 19, 2018 at 12:01 PM jayshankar nair <n_jayshan...@yahoo.com>
> wrote:
>
> Hello,
>
> I have installed openstack using packstack --allinone. Is it possible for
> jcloud to connect to packstack. How can i know the keystone endpoint and
> version.
>
> Please let me know.
>
> Thanks,
> Jayshankar
>
>
> On Tuesday, June 19, 2018 2:51 PM, Andrea Turli <andrea.tu...@gmail.com>
> wrote:
>
>
> Please read carefully http://jclouds. apache.org/guides/openstack/
> <http://jclouds.apache.org/guides/openstack/>
>
> Double check the keystone endpoint and make sure of the Keystone version
> your provider is using.
>
> Best
>
> On Tue, Jun 19, 2018 at 11:15 AM jayshankar nair <n_jayshan...@yahoo.com>
> wrote:
>
> Hello,
>
> I am getting the following error while running JCloudsNova
>
> java -classpath ".:lib/*:/usr/local/jdk1.8.0_ 171/lib" JCloudsNova
> 09:04:54.875 [main] DEBUG o.j.rest.internal. InvokeHttpMethod - >>
> invoking V2AuthenticationApi. authenticatePassword
> 09:04:54.878 [main] DEBUG o.j.h.i. JavaUrlHttpCommandExecutorServ ice -
> Sending request -263010527: POST http://192.168.0.12:5000/v2.0/ tokens
> <http://192.168.0.12:5000/v2.0/tokens> HTTP/1.1
> 09:04:54.878 [main] DEBUG jclouds.wire - >> "Sensitive data in payload,
> use jclouds.wire.log.sensitive override to enable logging this data."
> 09:04:54.878 [main] DEBUG jclouds.headers - >> POST 
> http://192.168.0.12:5000/v2.0/
> tokens <http://192.168.0.12:5000/v2.0/tokens> HTTP/1.1
> 09:04:54.878 [main] DEBUG jclouds.headers - >> Accept: application/json
> 09:04:54.878 [main] DEBUG jclouds.headers - >> Content-Type:
> application/json
> 09:04:54.878 [main] DEBUG jclouds.headers - >> Content-Length: 94
> 09:04:54.978 [main] DEBUG o.j.h.i. JavaUrlHttpCommandExecutorServ ice -
> Receiving response -263010527: HTTP/1.1 404 Not Found
> 09:04:54.979 [main] DEBUG jclouds.headers - << HTTP/1.1 404 Not Found
> 09:04:54.979 [main] DEBUG jclouds.headers - << Keep-Alive: timeout=15,
> max=100
> 09:04:54.979 [main] DEBUG jclouds.headers - << Server: Apache/2.4.6
> (CentOS)
> 09:04:54.979 [main] DEBUG jclouds.headers - << Connection: Keep-Alive
> 09:04:54.979 [main] DEBUG jclouds.headers - << x-openstack-request-id:
> req-50bbce32-c67b-4b18-90cd- fa0911f842a0
> 09:04:54.979 [main] DEBUG jclouds.headers - << Vary: X-Auth-Token
> 09:04:54.979 [main] DEBUG jclouds.headers - << Date: Tue, 19 Jun 2018
> 03:34:54 GMT
> 09:04:54.979 [main] DEBUG jclouds.headers - << Content-Type:
> application/json
> 09:04:54.979 [main] DEBUG jclouds.headers - << Content-Length: 133
> 09:04:54.982 [main] DEBUG jclouds.wire - << "{"error": {"message": 
> "(http://192.168.0.12:5000/v2.
> 0/tokens <http://192.168.0.12:5000/v2.0/tokens>): The resource could not
> be found.", "code": 404, "title": "Not Found"}}"
> Exception in thread "main" org.jclouds.rest. ResourceNotFoundException:
> {"error": {"message": "(http://192.168.0.12:5000/v2. 0/tokens
> <http://192.168.0.12:5000/v2.0/tokens>): The resource could not be
> found.", "code": 404, "title": "Not Found"}}
>     at org.jclouds.openstack.nova.v2_ 0.handlers.NovaErrorHandler.
> handleError(NovaErrorHandler. java:97)
>     at org.jclouds.http.handlers. DelegatingErrorHandler. handleError(
> DelegatingErrorHandler.java: 65)
>     at org.jclouds.http.internal. BaseHttpCommandExecutorService
> .shouldContinue( BaseHttpCommandExecutorService .java:138)
>     at org.jclouds.http.internal. BaseHttpCommandExecutorService .invoke(
> BaseHttpCommandExecutorService .java:107)
>     at org.jclouds.rest.internal. InvokeHttpMethod.invoke(
> InvokeHttpMethod.java:91)
>     at org.jclouds.rest.internal. InvokeHttpMethod.apply(
> InvokeHttpMethod.java:74)
>     at org.jclouds.rest.internal. InvokeHttpMethod.apply(
> InvokeHttpMethod.java:45)
>     at org.jclouds.rest.internal. DelegatesToInvocationFunction. handle(
> DelegatesToInvocationFunction. java:156)
>     at org.jclouds.rest.internal. DelegatesToInvocationFunction. invoke(
> DelegatesToInvocationFunction. java:123)
>     at com.sun.proxy.$Proxy57. authenticatePassword(Unknown Source)
>     at org.jclouds.openstack. keystone.auth.functions.
> AuthenticatePasswordCredential s.authenticate(
> AuthenticatePasswordCredential s.java:48)
>     at org.jclouds.openstack. keystone.auth.functions.
> BaseAuthenticator.apply( BaseAuthenticator.java:87)
>     at org.jclouds.openstack. keystone.auth.functions.
> BaseAuthenticator.apply( BaseAuthenticator.java:38)
>     at com.google.common.cache. CacheLoader$ FunctionToCacheLoader.load(
> CacheLoader.java:151)
>     at com.google.common.cache. LocalCache$ LoadingValueReference.
> loadFuture(LocalCache.java: 3527)
>     at com.google.common.cache. LocalCache$Segment.loadSync(
> LocalCache.java:2319)
>     at com.google.common.cache. LocalCache$Segment.
> lockedGetOrLoad(LocalCache. java:2282)
>     at com.google.common.cache. LocalCache$Segment.get(
> LocalCache.java:2197)
>     at com.google.common.cache. LocalCache.get(LocalCache. java:3937)
>     at com.google.common.cache. LocalCache.getOrLoad( LocalCache.java:3941)
>     at com.google.common.cache. LocalCache$LocalLoadingCache.
> get(LocalCache.java:4824)
>     at com.google.common.cache. LocalCache$LocalLoadingCache.
> getUnchecked(LocalCache.java: 4830)
>     at org.jclouds.openstack. keystone.auth.config.
> AuthenticationModule$2.get( AuthenticationModule.java:138)
>     at org.jclouds.openstack. keystone.auth.config.
> AuthenticationModule$2.get( AuthenticationModule.java:135)
>     at org.jclouds.openstack. keystone.v2_0.catalog. V2ServiceCatalog.get(
> V2ServiceCatalog.java:57)
>     at org.jclouds.openstack. keystone.v2_0.catalog. V2ServiceCatalog.get(
> V2ServiceCatalog.java:42)
>     at org.jclouds.openstack. keystone.catalog.suppliers.
> LocationIdToURIFromServiceEndp ointsForTypeAndVersion.get(
> LocationIdToURIFromServiceEndp ointsForTypeAndVersion.java: 76)
>     at org.jclouds.openstack. keystone.catalog.suppliers.
> LocationIdToURIFromServiceEndp ointsForTypeAndVersion.get(
> LocationIdToURIFromServiceEndp ointsForTypeAndVersion.java: 46)
>     at org.jclouds.rest.suppliers. MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier $ SetAndThrowAuthorizationExcept
> ionSupplierBackedLoader.load( MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .java:75)
>     at org.jclouds.rest.suppliers. MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier $ SetAndThrowAuthorizationExcept
> ionSupplierBackedLoader.load( MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .java:57)
>     at com.google.common.cache. LocalCache$ LoadingValueReference.
> loadFuture(LocalCache.java: 3527)
>     at com.google.common.cache. LocalCache$Segment.loadSync(
> LocalCache.java:2319)
>     at com.google.common.cache. LocalCache$Segment.
> lockedGetOrLoad(LocalCache. java:2282)
>     at com.google.common.cache. LocalCache$Segment.get(
> LocalCache.java:2197)
>     at com.google.common.cache. LocalCache.get(LocalCache. java:3937)
>     at com.google.common.cache. LocalCache.getOrLoad( LocalCache.java:3941)
>     at com.google.common.cache. LocalCache$LocalLoadingCache.
> get(LocalCache.java:4824)
>     at org.jclouds.rest.suppliers. MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .get( MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .java:150)
>     at org.jclouds.location. suppliers.derived.
> RegionIdsFromRegionIdToURIKeyS et.get( RegionIdsFromRegionIdToURIKeyS
> et.java:45)
>     at org.jclouds.location. suppliers.derived.
> RegionIdsFromRegionIdToURIKeyS et.get( RegionIdsFromRegionIdToURIKeyS
> et.java:33)
>     at com.google.common.base. Suppliers$SupplierComposition.
> get(Suppliers.java:67)
>     at org.jclouds.rest.suppliers. MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier $ SetAndThrowAuthorizationExcept
> ionSupplierBackedLoader.load( MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .java:75)
>     at org.jclouds.rest.suppliers. MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier $ SetAndThrowAuthorizationExcept
> ionSupplierBackedLoader.load( MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .java:57)
>     at com.google.common.cache. LocalCache$ LoadingValueReference.
> loadFuture(LocalCache.java: 3527)
>     at com.google.common.cache. LocalCache$Segment.loadSync(
> LocalCache.java:2319)
>     at com.google.common.cache. LocalCache$Segment.
> lockedGetOrLoad(LocalCache. java:2282)
>     at com.google.common.cache. LocalCache$Segment.get(
> LocalCache.java:2197)
>     at com.google.common.cache. LocalCache.get(LocalCache. java:3937)
>     at com.google.common.cache. LocalCache.getOrLoad( LocalCache.java:3941)
>     at com.google.common.cache. LocalCache$LocalLoadingCache.
> get(LocalCache.java:4824)
>     at org.jclouds.rest.suppliers. MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .get( MemoizedRetryOnTimeOutButNotOn
> AuthorizationExceptionSupplier .java:150)
>     at org.jclouds.rest.internal. DelegatesToInvocationFunction.
> getInstanceOfTypeWithQualifier ( DelegatesToInvocationFunction. java:277)
>     at org.jclouds.rest.internal. DelegatesToInvocationFunction.
> lookupValueFromGuice( DelegatesToInvocationFunction. java:234)
>     at org.jclouds.rest.internal. DelegatesToInvocationFunction. handle(
> DelegatesToInvocationFunction. java:152)
>     at org.jclouds.rest.internal. DelegatesToInvocationFunction. invoke(
> DelegatesToInvocationFunction. java:123)
>     at com.sun.proxy.$Proxy59. getConfiguredRegions(Unknown Source)
>     at JCloudsNova.<init>( JCloudsNova.java:44)
>     at JCloudsNova.main(JCloudsNova. java:19)
> Caused by: org.jclouds.http. HttpResponseException: command: POST 
> http://192.168.0.12:5000/v2.0/
> tokens <http://192.168.0.12:5000/v2.0/tokens> HTTP/1.1 failed with
> response: HTTP/1.1 404 Not Found; content: [{"error": {"message": 
> "(http://192.168.0.12:5000/v2.
> 0/tokens <http://192.168.0.12:5000/v2.0/tokens>): The resource could not
> be found.", "code": 404, "title": "Not Found"}}]
>     at org.jclouds.openstack.nova.v2_ 0.handlers.NovaErrorHandler.
> handleError(NovaErrorHandler. java:78)
>     ... 57 more
> [root@localhost jclouds]#
>
>
> On Tuesday, June 19, 2018 2:26 PM, Andrea Turli <andrea.tu...@gmail.com>
> wrote:
>
>
> Why are you using
>
> <dependency>
>     <groupId>org.apache.jclouds. api</groupId>
>     <artifactId>openstack-neutron< /artifactId>
>     <version>2.0.1</version>
> </dependency>
>
> if your jclouds.properties is 2.1.0 ?
>
> I think
>
> <dependency>
>     <groupId>org.apache.jclouds. api</groupId>
>     <artifactId>openstack-neutron< /artifactId>
>       <version>${jclouds.version}</ version>
> </dependency>
>
> should fix the mvn dependency command
>
> Best
>
> On Tue, Jun 19, 2018 at 10:52 AM jayshankar nair <n_jayshan...@yahoo.com>
> wrote:
>
> Hello,
>
> After changing the groupid for neutron, I am getting the  error while
> executing maven. The lib directory content is as below.
>
> [root@localhost jclouds]# mvn dependency:copy-dependencies
> "-DoutputDirectory=./lib"
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------< org.apache.jclouds.examples: openstack-examples
> >-----------
> [INFO] Building openstack-examples 1.0
> [INFO] ------------------------------ --[ jar
> ]----------------------------- ----
> [WARNING] The POM for org.apache.jclouds.api: openstack-neutron:jar:2.0.1
> is missing, no dependency information available
> [INFO] ------------------------------ ------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------ ------------------------------
> ------------
> [INFO] Total time: 0.707 s
> [INFO] Finished at: 2018-06-19T08:36:36+05:30
> [INFO] ------------------------------ ------------------------------
> ------------
> [ERROR] Failed to execute goal on project openstack-examples: Could not
> resolve dependencies for project org.apache.jclouds.examples:
> openstack-examples:jar:1.0: Failure to find org.apache.jclouds.api:
> openstack-neutron:jar:2.0.1 in https://repo.maven.apache.org/ maven2
> <https://repo.maven.apache.org/maven2> was cached in the local
> repository, resolution will not be reattempted until the update interval of
> central has elapsed or updates are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/ confluence/display/MAVEN/
> DependencyResolutionException
> <http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException>
>
>
>
> On Tuesday, June 19, 2018 11:11 AM, Ignasi Barrera <n...@apache.org>
> wrote:
>
>
> That tutorial is a bit outdated. Did you use the exact pom.xml referenced
> there to build the "lib" folder?
>
> A quick look shows that the Neutron groupId is wrong. Now it is
> "org.apache.jclouds.api". Could you verify it, and that you get all deps
> without errors? Could you share the contents of the resulting "lib" folder
> you have?
>
>
>
>
> On Tue, Jun 19, 2018, 06:04 jayshankar nair <n_jayshan...@yahoo.com>
> wrote:
>
> The description of jclouds is given in the below link. 
> https://jclouds.apache.org/
> guides/openstack/ <https://jclouds.apache.org/guides/openstack/>. I have
> packstack installed in the machine.
>
> java -classpath ".:lib/*" JCloudsNova Exception in thread "main"
> java.util. ServiceConfigurationError: org.jclouds.apis.ApiMetadata:
> Provider org.jclouds.openstack.neutron. v2.NeutronApiMetadata could not be
> instantiated at java.util.ServiceLoader.fail( ServiceLoader.java:232) at
> java.util.ServiceLoader. access$100(ServiceLoader.java: 185) at
> java.util.ServiceLoader$ LazyIterator.nextService( ServiceLoader.java:384)
> at java.util.ServiceLoader$ LazyIterator.next( ServiceLoader.java:404) at
> java.util.ServiceLoader$1. next(ServiceLoader.java:480) at
> com.google.common.collect. ImmutableCollection$Builder.
> addAll(ImmutableCollection. java:281)at com.google.common.collect.
> ImmutableCollection$ ArrayBasedBuilder.addAll(
> ImmutableCollection.java:360) at com.google.common.collect.
> ImmutableSet$Builder.addAll( ImmutableSet.java:508) at
> org.jclouds.apis.Apis.all( Apis.java:72) at org.jclouds.apis.Apis.withId(
> Apis.java:88) at org.jclouds.ContextBuilder. newBuilder(ContextBuilder.
> java:169) at JCloudsNova.(JCloudsNova.java: 39) at
>
> JCloudsNova.main(JCloudsNova. java:19) Caused by: java.lang.
> NoClassDefFoundError: org/jclouds/openstack
>
> /keystone/v2_0/config/ AuthenticationApiModule at
> org.jclouds.openstack.neutron. v2.NeutronApiMetadata$Builder.
> (NeutronApiMetadata.java:78) at org.jclouds.openstack.neutron.
> v2.NeutronApiMetadata.( NeutronApiMetadata.java:51) at sun.reflect.
> NativeConstructorAccessorImpl. newInstance0(Native Method) at sun.reflect.
> NativeConstructorAccessorImpl. newInstance( NativeConstructorAccessorImpl.
> java:62) at sun.reflect. DelegatingConstructorAccessorI mpl.newInstance(
> DelegatingConstructorAccessorI mpl.java:45) at
> java.lang.reflect.Constructor. newInstance(Constructor.java: 423) at
> java.lang.Class.newInstance( Class.java:442) at java.util.ServiceLoader$
> LazyIterator.nextService( ServiceLoader.java:380) ... 10 more Caused by:
> java.lang. ClassNotFoundException: org.jclouds.openstack.
> keystone.v2_0.config. AuthenticationApiModule at java.net.URLClassLoader.
> findClass(URLClassLoader.java: 381) at java.lang.ClassLoader.
> loadClass(ClassLoader.java: 424) at sun.misc.Launcher$
> AppClassLoader.loadClass( Launcher.java:349) at java.lang.ClassLoader.
> loadClass(ClassLoader.java: 357) ... 18 more
>
>
>
>
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-5888769411543865879_m_93299793573511923_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>

Reply via email to