I have a parameterized abstract class with one parameterized constructor:
public abstract class BasicEntidadController<T extends Entidad> implements Serializable { public BasicEntidadController(EntidadBean<T> entidadSessionBean) {....}
and a child class extending it:
@SessionScoped @Named public class TiendaController extends BasicEntidadController<Tienda> implements Serializable {...}
and WELD reports an error telling me that the "BasicEntidadController" is not proxy ....
org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001435 Normal scoped bean class org.wgualla.sandbox.entity.BasicEntidadController is not proxyable because it has no no-args constructor - Managed Bean [class org.wgualla.sandbox.tienda.TiendaController] with qualifiers [@Any @Default @Named].
Why is WELD trying to create a proxy for this abstract / no-bean class ???
Should I execute all classes, in the inheritance tree, proxy files, if I want to use / use in the EL element only the last child element in the tree?
Thanks in advance.
source share