I am migrating jakartaee-pac4j from 7.1.0 to 8.0.0. Using pac4j-saml 6.0.1, shiro 1.13.0, buji-pac4j 9.0.0 with Java 17 and Payara 6.2024.1 Application Server.
I see this error while deploying the application, not sure what is wrong or what other changes i need to do.
Exception while loading the app : CDI deployment failure:Exception List with 3 exceptions:
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Config with qualifiers @Default
at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedMethod] @Produces org.pac4j.jee.util.Pac4jProducer.getWebContext(Config, HttpServletRequest, HttpServletResponse)
at org.pac4j.jee.util.Pac4jProducer.getWebContext(Pac4jProducer.java:0)
Exception 1 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Config with qualifiers @Default
at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedMethod] @Produces org.pac4j.jee.util.Pac4jProducer.getSessionStore(Config, HttpServletRequest, HttpServletResponse)
at org.pac4j.jee.util.Pac4jProducer.getSessionStore(Pac4jProducer.java:0)
Exception 2 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Config with qualifiers @Default
at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedMethod] @Produces org.pac4j.jee.util.Pac4jProducer.getProfileManager(Config, WebContext, SessionStore)
at org.pac4j.jee.util.Pac4jProducer.getProfileManager(Pac4jProducer.java:0)
Pleas help.
It looks like the
Configcomponent cannot be found/injected. Do you still have somewhere:@Produces @ApplicationScoped Config buildConfiguration() {...?