In ManagerObjectFactory the String WEB_INF_CLASSES is hard coded to "/WEB-INF/classes" and is compared to a absolute path in line 54. bda.getId().contains(WEB_INF_CLASSES).
This is not suitable for Windows systems because of the separator (Windows uses '\') so the BeanManager cannot be initialized.
This code was introduced in: https://github.com/weld/core/commit/f98dfb0fbf0a123c2b70558cf422646003adef15
|