[
https://issues.apache.org/jira/browse/JCLOUDS-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982812#comment-13982812
]
Selvi edited comment on JCLOUDS-542 at 4/28/14 11:14 AM:
---------------------------------------------------------
I tried the updated example it works fine.But when i use the same code to
implement in my project it says
SEVERE: Unhandled exception or error intercepted
java.lang.NoClassDefFoundError: org/jclouds/openstack/nova/v2_0/NovaApi.
When i debug the application i gives me correct values for credentials but it
gives novaApi and zone=null.
And since modifier for NovaApi used is private final its says that i should
initialize it.wht should the initialization be?
I have MYSQL database where all openstack credentials are stored
was (Author: selvi):
I tried the updated example it works fine.But when i use the same code to
implement in my project it says
SEVERE: Unhandled exception or error intercepted
java.lang.NoClassDefFoundError: org/jclouds/openstack/nova/v2_0/NovaApi.
When i debug the application i gives me correct values for credentials but it
gives novaApi and zone=null.
And since modifier for NovaApi used is private final its says that i should
initialize it
> I am trying some examples on openstack using jclouds.I have installed jclouds
> 1.7.2 using maven and deployed openstack using devstack.The problem that i am
> facing is it says The type RestContext<S,A> is deprecated,he type
> NovaAsyncApi is deprecated.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JCLOUDS-542
> URL: https://issues.apache.org/jira/browse/JCLOUDS-542
> Project: jclouds
> Issue Type: Bug
> Environment: jDK 1.7
> Reporter: Selvi
> Assignee: Everett Toews
>
> The example that i am trying is from
> http://jclouds.apache.org/guides/openstack/
> i have deployed openstack using devstack.
> Earlier i was using jclouds 1.7.1 since i was getting the methods deprecated
> i installed 1.7.2..but still the problem persists.
> The Exception been thrown is
> java.lang.NoClassDefFoundError:org/jclouds/rest/RestContext
--
This message was sent by Atlassian JIRA
(v6.2#6252)