8.2 ClassNotFoundError When Creating a Proxy

When creating proxies at runtime, there are circumstances where ClassNotFoundErrors can be generated. These errors happen because the proxy creating bundle does not have visibility into every type on the interface of the proxy. You can either put in import statements for all the relevant types or add use a service (with visibility of all pertinent types) to create the proxy. Please see this blog entry for more details.