...
- Upgrade dependencies to http-util-1.5.0 and gwt-osgi-2.4.0.2, if applicable.
- Move all your deployed resources in the bundle from /WEB-INF to /OSGI-INF/webapp
This might incur checking your service.xml and your pom.xml , maybe you have to move resources inside src/main/resources; especially check Include-Resources of maven bundle plugin configuration (e.g. in gwt project) - Remove instances of BasicHttpContext
This includes removing the httpContext property from your HttpServiceRegistrationListener bean. - Prepend /OSGI-INF/webapp to the resourcePath property of your ResourceServlet bean
- Add an appropriate resourceClassLoaderHint to your ResourceServlet bean. (See the hints above for more explanations)
...