We are migrating for a customer a lot of old Spring-DM based bundles he used to run on a Karaf 2.x to Karaf 4.x. We were hoping to leverage the Blueprint Spring functionality available in Karaf to not have to not have to change to Blueprint (at least for now).
Unfortunately, it doesn't seem to work when no internet connection is available, because it is trying to download the spring bean schema 'http://www.springframework.org/schema/osgi/spring-osgi.xsd'.
I created a simple Spring-DM based bundle based on the Aries blueprint Hello World sample and I am able successfully run it on a Karaf 4.2.1 - start karaf, install aries-blueprint-spring and copy the jar to the deploy folder => bundle starts and service is available. Same scenario with internet connection disabled => the bundle is in failed status .
I have attached the simple project and the Karaf log file with the exception.
Requiring a internet connection is a no go for the customer.