The goal is using static resources with MVC in a OSGi/Virgo environment.
The first try was create a bundle with a folder "/src/main/resources/META-INF/web-resources/myresource". In the other bundle (the ui bundle) in the webmvc-config I have this mapping:
In the template.mf I choosed Import-Bundle or Require-Bundle. Both bundles are running fine
<mvc:resources location="/, classpath:/META-INF/web-resources/" mapping="/resources/**" />
As far I understood, it shoul be possible to access ..myresource from the ui bundle but I get a 404.
For the 2nd try I made the resource bundle to a fragment. Still get 404.
I'm happy about any hints.