Return-Path: X-Original-To: apmail-deltaspike-users-archive@www.apache.org Delivered-To: apmail-deltaspike-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0C3218060 for ; Tue, 8 Dec 2015 14:54:25 +0000 (UTC) Received: (qmail 79595 invoked by uid 500); 8 Dec 2015 14:54:25 -0000 Delivered-To: apmail-deltaspike-users-archive@deltaspike.apache.org Received: (qmail 79557 invoked by uid 500); 8 Dec 2015 14:54:25 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 79543 invoked by uid 99); 8 Dec 2015 14:54:25 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2015 14:54:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8AA42C8771 for ; Tue, 8 Dec 2015 14:54:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BjI5Xhi4a6-0 for ; Tue, 8 Dec 2015 14:54:23 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id F1DE524E9F for ; Tue, 8 Dec 2015 14:54:22 +0000 (UTC) Received: by oiww189 with SMTP id w189so10503280oiw.3 for ; Tue, 08 Dec 2015 06:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CDftLU1AVDH3j0PJvK4Mg4tQD7y3M4O06qrmFHBcP+s=; b=rTHfnaigtuw2BZNERCaN83YMcH1Tp2QOiHRLRin47ZGHB4q4YO+9AmDvKWzmY4dHaK sSK/L4i3DtFEjpuDzA7qjNV5hdsYjL/AJ3Ms+S+ySgLpPGrT1+pHAfkMTou4t/1/YduQ nzqP878N9Y8BBgosT4pa8on96xawJkZwPJecIGZU2sk+fOjhHqw4CqQi/+SuQa2L6EkF djrPyzQQIh5bd/TTYZO/lKfrQic4BqAP3won+VtYnxBbMF3Fre0p5ERszYAljK7AZw1f BoWGcqBMPz+UdkXOCbzp4igZ+WTfoT4YdEQmDaPqthejHPfejhA7bsWlbVHeZRIKF5dT CaxQ== MIME-Version: 1.0 X-Received: by 10.202.203.213 with SMTP id b204mr2509621oig.108.1449586461651; Tue, 08 Dec 2015 06:54:21 -0800 (PST) Received: by 10.202.201.200 with HTTP; Tue, 8 Dec 2015 06:54:21 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Dec 2015 15:54:21 +0100 Message-ID: Subject: Re: WARNING on BeanProvider shall not be used to create ... From: Thomas Andraschko To: users@deltaspike.apache.org Content-Type: multipart/alternative; boundary=001a11c1856c1e38f5052664264a --001a11c1856c1e38f5052664264a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hmm? thats a completely other error as in the first mail. Make sure you have the data-impl module included. 2015-12-08 15:40 GMT+01:00 Esteve Avil=C3=A9s : > Hi Thomas, > > I have the repository declared as: > > @Repository > > public abstract class ServeiVendaRepository extends > BaseRepository { > > > And BaseRespository: > > public abstract class BaseRepository implements > CriteriaSupport, EntityRepository, > EntityManagerDelegate { > > .... > > > 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 < > andraschko.thomas@gmail.com> 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=C3=A9s > --001a11c1856c1e38f5052664264a--