Hi,

I get the following:

"Caused by: java.lang.IllegalStateException: Construction of service
'Alias' has failed due to recursion: the service depends on itself in
some way. Please check
org.apache.tapestry5.services.TapestryModule.buildAlias(Logger, String,
AliasManager, Collection) (at TapestryModule.java:217) for references to
another service that is itself dependent on service 'Alias'."

When contributing the following alias:

public static void contributeAlias(
        Configuration<AliasContribution<MarkupWriterFactory>>
configuration, 
        @Inject @Symbol(SymbolConstants.CHARSET) final String
applicationCharset) {
        

configuration.add(AliasContribution.create(MarkupWriterFactory.class,
                        new
XhtmlMarkupWriterFactoryImpl(applicationCharset)));
        }


as per http://wiki.apache.org/tapestry/Tapestry5HowToXhtml


I've seen the other threads on this issue but they haven't helped.

Any ideas?

THanks,
Joel


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

Reply via email to