[Error_log] org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.DataBindingProvider
본문 바로가기
IT 이야기/JBoss EAP

[Error_log] org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.DataBindingProvider

by 찬찬이 아빠 2020. 4. 13.
반응형

<에러 내용>

org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.DataBindingProvider

 

<원인>

 javax.jws.api (충돌)

 

<해결 방안>
 jboss-deployment-structure.xml 옵션 추가

<exclude-subsystems>
	<subsystem  name="webservices" />
	<subsystem name="jaxrs" />			<!-- 추가 -->                           
</exclude-subsystems>
<dependencies>
	<module name="javax.jws.api"/>  	<!-- 추가 -->
	<module name="javax.xml.ws.api" />
반응형

댓글