karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saravana Prasad <rspras...@hotmail.com>
Subject java.lang.NullPointerException: Specified service reference cannot be null
Date Fri, 12 Apr 2019 08:43:54 GMT
Hi,

Can one concrete class in Bundle-A be annotated with 
@Component
@Provides(specifications={Implementing.class})
@Instantiate
public class Implementing{
..
..
}

and can this component be made available in a Jersey REST-API Bundle-B ( a
war package ) using 

@Requires 
private Implementing implementation;

This way there is : java.lang.NullPointerException: Specified service
reference cannot be null.




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Mime
View raw message