Posts by Wellington Soares Nunes • 101 points
3 posts
-
2
votes1
answer649
viewsQ: JSF 2, CDI 1.1, Springsecurity 4: Custom login form does not redirect to page
I’m making an application with JSF 2, Springsecutiry 4 and CDI 1.1. I did the entire implementation of Springsecurity with JSF and apparently everything worked normally, but when making the custom…
-
4
votes1
answer1465
viewsA: Javase with CDI and JPA - Error WELD-001303
We find in the documentation that only the scopes @Application, @Dependent e @Singleton are supported in SE environment. @ApplicationScoped public class EntityManagerProducer implements Serializable…
-
4
votes1
answer1465
viewsQ: Javase with CDI and JPA - Error WELD-001303
I am studying JPA and CDI in a Java SE application. When I will create the EntityManagerFactory I come across the error: Exception in thread "main" org.jboss.weld.context.ContextNotActiveException:…