java.lang.IllegalStateException: org.jboss.weld.bootstrap.SpecializationAndEnablementRegistry.registerEnvironment() must not be called after specialization resolution begins
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:464)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:62)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
... 3 more