JRebel caused WELD-001414 Bean name is ambiguous
We created a multi-module maven project but is currently encountering the
error in the title on deploy.
Here's the setup (those with parenthesis rebel means there is a jrebel
configuration in that project):
-MainProject: --Model (rebel) --ProjectA ---Web (rebel) ---EJB (rebel)
---Config (rebel)
The weird thing is, if I removed the rebel configuration in EJB it deploys
successfully.
The error:
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean
name is ambiguous. Name bayadDunningInputHistoryBean resolves to beans
[Managed Bean [class xxx.yyy.ClassBean] with qualifiers [@Any @Default
@Named], Managed Bean [class xxx.yyy.ClassBean] with qualifiers [@Any
@Default @Named]]
Base on the error, could it be that the same class is loaded twice?
No comments:
Post a Comment