5.0.16 introduces much improved logging to the console when this happens, it should help you diagnost what happened. What I see looks correct, but there may be something else going on that we can't see.
On Wed, Nov 26, 2008 at 8:58 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > 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] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]