OSGI srvice is not getting registered
Hi,
I am facing an issue i created a project of maven archType10 in eclipse and when i upload the bundle on felix console it does not show the service registered over there below is the code what i wrote and screenshot of the bundle on felix,
MyService.java (Interface)
package com.aem.community.core.services;
public interface MyService {
public String helloWorld();
}
MyServiceImpl.java (class implementing Interface)
package com.aem.community.core.servicesImpl;
import org.apache.felix.scr.annotations.Service;
import com.aem.community.core.services.MyService;
import aQute.bnd.annotation.component.Component;
@Component(immediate=true)
@Service(value=MyService.class)
public class MyServiceImpl implements MyService {
@Override
public String helloWorld() {
return ("Hello");
}
}
