Re: Cant get EL.property to work

Splash Forums Rewrite Users Cant get EL.property to work Re: Cant get EL.property to work

#22751

Vivek Katta
Participant

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(Validator.java:278)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)

Hope this helps..

Thanks,

Vivek