I don't use JPA so I don't have a solution, but in your stack trace most notable is root exception "java.lang.NoSuchMethodError". Usually such exception indicates that an incorrect version of a class is on the class path. This can happen if you have two different JARs of the same library is on the class path or if dependencies were not upgraded. E.g. you changed Tapestry version from 5.3.6 to 5.4.0 and forgot to clean your output directory so old versions are still included (if your build scripts are not clever enough to remove unused dependencies) or you forgot to upgrade all dependencies. So ensure that tapestry-jpa and other related libraries are appropriate for Tapestry 5.4.0 and each library appears only once.
Cezary On Sun, Nov 12, 2017 at 5:37 AM, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > I just started using Tapestry 5.4.0 on a project that uses tapestry-jpa. > The project worked fine with 5.3.6 tapestry but the JPA fails under 5.4.0. > > Any ideas? > > John > > > Info: [ERROR] ioc.Registry Error invoking service contribution method > org.apache.tapestry5.jpa.JpaModule.provideObjectProviders( > OrderedConfiguration): > org.apache.tapestry5.plastic.PlasticManager.createProxy( > Ljava/lang/Class;Ljava/lang/Class;Lorg/apache/tapestry5/plastic/ > PlasticClassTransformer;)Lorg/apache/tapestry5/plastic/ClassInstantiator; > Info: [ERROR] ioc.Registry Operations trace: > Info: [ERROR] ioc.Registry [ 1] Realizing service > ServletApplicationInitializer > Info: [ERROR] ioc.Registry [ 2] Instantiating service > ServletApplicationInitializer implementation via > org.apache.tapestry5.services.TapestryModule. > buildServletApplicationInitializer(Logger, > List, ApplicationInitializer) (at TapestryModule.java:1396) > Info: [ERROR] ioc.Registry [ 3] Constructing module class > org.apache.tapestry5.services.TapestryModule > Info: [ERROR] ioc.Registry [ 4] Determining injection value for parameter > #1 (org.apache.tapestry5.ioc.services.PipelineBuilder) > Info: [ERROR] ioc.Registry [ 5] Realizing service MasterObjectProvider > Info: [ERROR] ioc.Registry [ 6] Instantiating service > MasterObjectProvider implementation via > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl(List, > OperationTracker) (at MasterObjectProviderImpl.java:33) via > org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) > (at > TapestryIOCModule.java:49) > Info: [ERROR] ioc.Registry [ 7] Creating plan to instantiate > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl via > public > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl(java. > util.List,org.apache.tapestry5.ioc.OperationTracker) > Info: [ERROR] ioc.Registry [ 8] Determining injection value for parameter > #1 (java.util.List) > Info: [ERROR] ioc.Registry [ 9] Collecting ordered configuration for > service MasterObjectProvider > Info: [ERROR] ioc.Registry [10] Invoking > org.apache.tapestry5.jpa.JpaModule.provideObjectProviders( > OrderedConfiguration) > (at JpaModule.java:105) > Info: [ERROR] TapestryIOCModule.MasterObjectProvider Construction of > service MasterObjectProvider failed: Error invoking service contribution > method > org.apache.tapestry5.jpa.JpaModule.provideObjectProviders( > OrderedConfiguration): > org.apache.tapestry5.plastic.PlasticManager.createProxy( > Ljava/lang/Class;Ljava/lang/Class;Lorg/apache/tapestry5/plastic/ > PlasticClassTransformer;)Lorg/apache/tapestry5/plastic/ClassInstantiator; > org.apache.tapestry5.ioc.internal.OperationException: Error invoking > service contribution method > org.apache.tapestry5.jpa.JpaModule.provideObjectProviders( > OrderedConfiguration): > > ... > ... 147 more > Caused by: java.lang.NoSuchMethodError: > org.apache.tapestry5.plastic.PlasticManager.createProxy( > Ljava/lang/Class;Ljava/lang/Class;Lorg/apache/tapestry5/plastic/ > PlasticClassTransformer;)Lorg/apache/tapestry5/plastic/ClassInstantiator; > at > org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl. > createProxy(PlasticP > Severe: WebModule[/AuditServices]Exception starting filter app > java.lang.InstantiationException >