Re: Cant get to work

Splash Forums Rewrite Users Cant get to work Re: Cant get to work


Vivek Katta

Hi Lincoln, can’t seem to find a way to upload files (or have I missed something trivial here?)

Anyway I am pasting the stacktrace here. The project was an empty web app with seam solder and rewrite included. Also I had a @Startup class configured where I had one log statement (logger implemented using Jboss message logger and hence seam solder)

Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [ExpressionFactory] with qualifiers [@Default] at injection point
[[parameter 2] of [constructor] @Inject public org.jboss.seam.solder.el.Expressions(ELContext, ExpressionFactory)]. Possible dependencies [[Producer Method [ExpressionFactory] with qualifiers [@Any @Default]
declared as [[method] @Produces @ApplicationScoped org.ocpsoft.rewrite.cdi.expressions.ExpressionFactoryProducer.createExpressionFactory(BeanManager)], Producer Method [ExpressionFactory] with qualifiers [@Any @Default]
declared as method] @Produces @ApplicationScoped org.jboss.seam.solder.el.ExpressionFactoryProducer.createExpressionFactory(BeanManager)]

at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(
at org.jboss.weld.bootstrap.Validator.validateBean(
at org.jboss.weld.bootstrap.Validator.validateRIBean(
at org.jboss.weld.bootstrap.Validator.validateBeans(

Hope this helps..