0 Replies Latest reply on Jun 26, 2017 9:23 AM by srslylol

    Failed to load annotated class

    srslylol

      Hello,

       

      I am new to Wildfly and JBoss, I have only worked with it at university, now I made my own project and tried to deploy it on wildfly, but I am currently having a hard time with these Exceptions:

       

      2017-06-26 12:43:09,128 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit.SmartVis.INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit.SmartVis.INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "SmartVis"
        at org
      .jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
        at org
      .jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
        at org
      .jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
        at java
      .util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java
      .util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java
      .lang.Thread.run(Thread.java:748)
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJSF0008: Failed to load annotated class: com.consolinno.smartvis.converter.BhkwConverter
        at org
      .jboss.as.jsf.deployment.JSFAnnotationProcessor.deploy(JSFAnnotationProcessor.java:115)
        at org
      .jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
        
      ... 5 more

      2017-06-26 12:43:09,163 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 7) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "SmartVis-1.0-SNAPSHOT.war")]) - failure description: {
        
      "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.SmartVis.INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.SmartVis.INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"SmartVis\"
        Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJSF0008: Failed to load annotated class: com.consolinno.smartvis.converter.BhkwConverter"
      },
        
      "WFLYCTL0412: Required services that are not installed:" => [
        
      "jboss.deployment.unit.SmartVis.INSTALL",
        
      "jboss.deployment.unit.SmartVis.beanmanager"
        
      ],
        
      "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        
      "jboss.deployment.unit.SmartVis.weld.weldClassIntrospector is missing [jboss.deployment.unit.SmartVis.beanmanager]",
        
      "jboss.deployment.unit.SmartVis.batch.environment is missing [jboss.deployment.unit.SmartVis.beanmanager]"
        
      ]
      }
      2017-06-26 12:43:09,165 ERROR [org.jboss.as.server] (External Management Request Threads -- 7) WFLYSRV0021: Deploy of deployment "SmartVis" was rolled back with the following failure message:
      {
        
      "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.SmartVis.INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.SmartVis.INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"SmartVis\"
        Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJSF0008: Failed to load annotated class: com.consolinno.smartvis.converter.BhkwConverter"
      },
        
      "WFLYCTL0412: Required services that are not installed:" => [
        
      "jboss.deployment.unit.SmartVis.INSTALL",
        
      "jboss.deployment.unit.SmartVis.beanmanager"
        
      ],
        
      "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        
      "jboss.deployment.unit.SmartVis.weld.weldClassIntrospector is missing [jboss.deployment.unit.SmartVis.beanmanager]",
        
      "jboss.deployment.unit.SmartVis.batch.environment is missing [jboss.deployment.unit.SmartVis.beanmanager]"
        
      ]
      }

       

       

      I have googled it but the "Failed to load annotated class" seems not be that common. The BhkwConverter class is a simple custom converter for my PrimeFaces SelectOneMenue, I don't know why he could'nt load it.

       

      Maybe someone of you has an idea?