I am getting this error
Caused by: java.lang.NoClassDefFoundError:
org/apache/thrift/transport/TTransportException
........
Caused by: java.lang.ClassNotFoundException:
org.apache.thrift.transport.TTransportException not found by
me.prettyprint.hector [193]
I have provided all the required dependencies, but for some reason ,
there is one '*libthrift*' that can not be found by the server during
runtime.
I am not sure if what I attempted below is right and please correct me
if there is a right way.
in the config.properties file , I added
org.osgi.framework.system.packages.extra=libthrift-0.6.1; version="0.6.1"
also I copied the jar in apache-karaf-2.2.7/lib folder
this did not help, but I am not sure what is the right way to make karaf
aware of libthrift.
I also tried to install it as a bundle, but it did not help.
What I am trying to accomplish is to add org.apache.thrift / libthrift
to this list on System.getProperty("java.class.path")
/home/ramesh/Documents/osgiFramework/apache-karaf-2.2.7/lib/karaf-jaas-boot.jar:/home/ramesh/Documents/osgiFramework/apache-karaf-2.2.7/lib/karaf.jar
Any help would be appreciated
regards,
Ramesh