Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-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 4BF0318586 for ; Tue, 25 Aug 2015 14:36:36 +0000 (UTC) Received: (qmail 95931 invoked by uid 500); 25 Aug 2015 14:36:36 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 95904 invoked by uid 500); 25 Aug 2015 14:36:36 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 95890 invoked by uid 99); 25 Aug 2015 14:36:35 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2015 14:36:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 79082180333 for ; Tue, 25 Aug 2015 14:36:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.099 X-Spam-Level: **** X-Spam-Status: No, score=4.099 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_COUK=1.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ok_4iztRz8qi for ; Tue, 25 Aug 2015 14:36:27 +0000 (UTC) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 90C3620865 for ; Tue, 25 Aug 2015 14:36:27 +0000 (UTC) Received: by igfj19 with SMTP id j19so12969036igf.0 for ; Tue, 25 Aug 2015 07:36:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=Mg7Bf+BbA7Pq/yqsbkQnhh5NVse0X9+Bo1fhaV4/wNI=; b=TymeYFRQ7KyMl4RPVOicLdWNGdQYZI5lHUc8AOSdkdiJaXNnMaXiq9xTS3ToBDXweu NZuy3c4K5ZcGvNQOgK48Dx9S+NLDRfzuV/L2mIPZ7YRtDSJbzMfDnmZdYLdS0zDywMvw v9cQtX/gtwtuH0BzSiVv8cTLTbpjQ4kzdql9P2T4pZuZlo6DhG/lRTqlWAKlNcXQSwzM tkfgNKXsfE7FUZ8k17hDTMe+htodtTsgzgc9MOV+1Dkdt3ZM26nX4UAMzaRL13RDIp3o dsZFBXBcnw6sp5ZVHB8JlAg19W+/qNyii1ci32JYMSi+uxmdcBXkG1s3nADawAo8OfTV iCDw== X-Gm-Message-State: ALoCoQloeANnE00/2H9yohPDZMn014maxhinP1424vT2D+rt2TV+qeMFSatouopggiVjJm/i6qpK X-Received: by 10.50.143.2 with SMTP id sa2mr2793890igb.72.1440513386792; Tue, 25 Aug 2015 07:36:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.134.68 with HTTP; Tue, 25 Aug 2015 07:36:07 -0700 (PDT) X-Originating-IP: [193.178.95.4] In-Reply-To: <55DC5BCB.4080904@pocos.nl> References: <55DC5BCB.4080904@pocos.nl> From: Dan Haywood Date: Tue, 25 Aug 2015 15:36:07 +0100 Message-ID: Subject: Re: Exception while deploying application using (1.9.0-SNAPSHOT) To: users Content-Type: multipart/alternative; boundary=001a1134b594b6f970051e23a8d0 --001a1134b594b6f970051e23a8d0 Content-Type: text/plain; charset=UTF-8 Hi Erik, hmm... not sure. Just looking at the history of that class (ServiceInjectorDefault) and it's had an init(): void method for a long time (several years). So the stacktrace doesn't seem very helpful. Is there any more to it (eg underlying cause?) Does the app run okay from the cmd line (using mvn -P self-host antrun:run or mvn jetty:run)? Does the app run okay using org.apache.isis.WebServer from an IDE (as described in our docs)? When you say you are running via embedded Tomcat, what do you mean exactly (is this mvn tomcat:run or similar?) Thx Dan On 25 August 2015 at 13:12, Erik de Hair wrote: > Hi, > > When starting our application on embedded Tomcat (after upgrading to Isis > 1.9.0-SNAPSHOT) I get the following exception: > > SEVERE: Exception starting filter WicketFilter > java.lang.NoSuchMethodError: > org.apache.isis.core.metamodel.services.ServicesInjectorDefault: method > ()V not found > at > org.apache.isis.core.runtime.system.persistence.PersistenceSessionFactory.(PersistenceSessionFactory.java:66) > at > org.apache.isis.core.runtime.installerregistry.installerapi.PersistenceMechanismInstallerAbstract.createPersistenceSessionFactory(PersistenceMechanismInstallerAbstract.java:54) > at > org.apache.isis.core.runtime.systemusinginstallers.IsisSystemUsingInstallers.obtainPersistenceSessionFactory(IsisSystemUsingInstallers.java:228) > at > org.apache.isis.core.runtime.systemusinginstallers.IsisSystemAbstract.doCreateSessionFactory(IsisSystemAbstract.java:153) > at > org.apache.isis.core.runtime.system.IsisSystemFixturesHookAbstract.init(IsisSystemFixturesHookAbstract.java:116) > at > org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:133) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:104) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:65) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110) > at > com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75) > at > com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024) > at > com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60) > at > com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944) > at > org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.init(IsisWicketApplication.java:256) > at webapp.PortalApplication.init(PortalApplication.java:94) > at org.apache.wicket.Application.initApplication(Application.java:823) > at > org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:424) > at > org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:351) > at > org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) > at > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) > at > org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107) > at > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > > I've been checking the dependencies to see if any old libraries are still > referenced but can't find any that could corrupt the classpath. I followed > the steps in the migration document. Any idea? > > Erik > --001a1134b594b6f970051e23a8d0--