-
Bug
-
Resolution: Done
-
Major
-
2.2.1.Final
-
None
The id generated by org.jboss.weld.environment.se.discovery.url.URLScanner.getId(String) is not unique in case of directories.
In eclipse compiled classes of a java project will be saved in a folder called classes. If there are more projects which depend on each other this will result in duplicate ids with the value 'classes'.
Later on this id will be used during creation of the bean managers an therefore on e bean manager will be overridden by another one if the BeanDeploymentArchive provides the same id.
At the this will lead to dependency resolution error because of missing beans.