I just start learning how to build a bnd OSGI project. I try to run a very simple project without any error message,but when I go to localhost, it shows "HTTP ERROR: 404".
the simple class:
rest build dependencies
Run dependencies
http error:
Thanks for your helps!!
Your class is annotated with jax-rs annotations and publishes an OSGi service. If this exposes the services as a REST resources depends on the bundles you install.
You have to install a bundle that watches for such services and creates the REST endpoints for them.
See enter link description here I think you at least need to also add the org.amdatu.web.wink bundle to your bdnrun file.