Hi Thomas,

I have the repository declared as:

@Repository

public abstract class ServeiVendaRepository extends
BaseRepository<ServeiVenda> {


And BaseRespository:

public abstract class BaseRepository<ENTITY> implements
CriteriaSupport<ENTITY>, EntityRepository<ENTITY, Long>,
EntityManagerDelegate<ENTITY> {

....


Then I get this error:


Caused by: java.lang.AbstractMethodError:
cat.tmb.tdo.ocicommerce.domain.bo.BaseRepository.save(Ljava/lang/Object;)Ljava/lang/Object;

at cat.tmb.tdo.ocicommerce.domain.bo.BaseBO.save(BaseBO.java:192)
[domain-1.14.0-snapshot.jar:]

at cat.tmb.tdo.ocicommerce.domain.bo.venda.ServeiVendaBO.save(
ServeiVendaBO.java:381) [domain-1.14.0-snapshot.jar:]


Thanks:

On Tue, Dec 8, 2015 at 3:09 PM, Thomas Andraschko <
[email protected]> wrote:

> Hi,
>
> setting a scope (e.g. ApplicationScope) on your repositories should fix the
> warning.
> Repositories are normally stateless, so using ApplicationScoped should be
> fine.
>



-- 
Esteve Avilés

Reply via email to