8.2 ClassNotFoundError When Creating a Proxy
Prev | 8. Known Issues | Next

## 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.

Prev | Up | Next
8. Known Issues | Home | 8.3 Creating proxies with CGLIB for Package Protected Types