Hi

I just changed between version T 5.0.4 and T 5.0.5

By the change I got the following error:
Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry.services.TapestryModule.build(Log, String, AliasManager, Collection) (at TapestryModule.java:249) for references to another service that is itself dependent on service 'Alias'

It took me some time to figure out what the error caused, thats why I want to share my experience with you:

In 5.0.4 the following code worked without problems:
public static void contributeTypeCoercer(
Configuration<CoercionTuple> configuration, WebApplicationContext context) ...

In 5.0.5 it seems that the autowireing of WebApplicationContext causes Problems so I defined the contribution the following way:

public static void contributeTypeCoercer(
Configuration<CoercionTuple> configuration, @Service ("WebApplicationContext") WebApplicationContext context)

With the service explicitly specified it again works like a charm.

Beside this small problem I have to say thank you for such a great framework. It is really a plessure to develop with T5.

Kind regards,
              Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to