Vraptor 4 + Websphere 9 - Ambiguous dependencies for type ResourceBundle

2 views
Skip to first unread message

Thiago Nobrega

unread,
Oct 31, 2018, 10:04:04 AM10/31/18
to caelum-vraptor
Estou recebendo essa exception ao tentar fazer o deploy do projeto no WAS 9...

Alguem pode me dar uma luz?

[30/10/18 19:23:38:507 BRT] 000000a7 SystemErr     R Caused by: com.ibm.ws.cdi.CDIDeploymentRuntimeException: org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type ResourceBundle with qualifiers @Default
  at injection point [BackedAnnotatedParameter] Parameter 5 of [BackedAnnotatedConstructor] @Inject public br.com.caelum.vraptor.validator.DefaultValidator(Result, ValidationViewsFactory, Outjector, Proxifier, ResourceBundle, Validator, MessageInterpolator, Locale, Messages)
  at br.com.caelum.vraptor.validator.DefaultValidator.<init>(DefaultValidator.java:0)
  Possible dependencies: 
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_zh] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_ru] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_de] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_es] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_it] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_en] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_pt_BR] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_ja] with qualifiers [@Any @Default],
  - Producer Method [ResourceBundle] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces public br.com.caelum.vraptor.core.JstlLocalization.getBundle(Locale)],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_fr] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_hu] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_ro] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_ko] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_cs] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_zh_TW] with qualifiers [@Any @Default],
  - Managed Bean [class com.ibm.ws.cdi.jms.messages.CWSCDMessages_pl] with qualifiers [@Any @Default]


Reply all
Reply to author
Forward
0 new messages