Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.4
Description
Reproduce:
Add tapestry-ioc-jcache to a tapestry project
Expected:
Application still works
Actual:
Application fails to start:
Construction of service 'AssetObjectProvider' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry5.internal.services.AssetObjectProvider(AssetSource, TypeCoercer, SymbolSource) (at AssetObjectProvider.java:45) via org.apache.tapestry5.modules.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:311) for references to another service that is itself dependent on service 'AssetObjectProvider'.
Probably caused by @Match('*') in JCacheModule. Solution could be something like http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Service-Advisors-recursive-problem-td5720755.html#a5720781