Exception using weld CDI with Jetty: Singleton not set for STATIC_INSTANCE
问题 I am trying to configure Jetty with JSF and Weld CDI. After following this manual, I stumble upon the following stacktrace: Caused by: java.lang.IllegalStateException: Singleton not set for STATIC_INSTANCE => [] at org.jboss.weld.bootstrap.api.helpers.RegistrySingletonProvider$RegistrySingleton.get(RegistrySingletonProvider.java:28) at org.jboss.weld.Container.instance(Container.java:55) at org.jboss.weld.SimpleCDI.<init>(SimpleCDI.java:77) at org.jboss.weld.environment.WeldProvider