Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14344

helloworld-classfiletransformer throws javassist.NotFoundException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 22.0.0.Final
    • Quickstarts
    • None
    • Hide

      change to quickstart-22.0.0.Final/helloworld-classfiletransformer
      run: mvn clean install wildfly:deploy

      Show
      change to quickstart-22.0.0.Final/helloworld-classfiletransformer run: mvn clean install wildfly:deploy
    • Undefined
    • ---
    • ---

      Deployment of project helloworld-classfiletransformer throws Exception:
      javassist.NotFoundException: hello.server.ejb.HelloBean$$$view4

      mvn -v
      Apache Maven 3.6.3
      Maven home: /usr/share/maven
      Java version: 11.0.8, vendor: Oracle Corporation, runtime: /usr/local/java/jdk-11.0.8
      Default locale: de_DE, platform encoding: UTF-8
      OS name: "linux", version: "5.8.0-40-generic", arch: "amd64", family: "unix"

      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:2.0.2.Final:deploy (default-cli) on project helloworld-classfiletransformers: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" =>

      {"jboss.deployment.unit.\"helloworld-classfiletransformers.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"helloworld-classfiletransformers.war\" [ERROR] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component HelloBean [ERROR] Caused by: java.lang.ClassFormatError: javassist.NotFoundException: hello.server.ejb.HelloBean$$$view4 [ERROR] Caused by: java.lang.RuntimeException: javassist.NotFoundException: hello.server.ejb.HelloBean$$$view4 [ERROR] Caused by: javassist.NotFoundException: hello.server.ejb.HelloBean$$$view4"}

      ,"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"helloworld-classfiletransformers.war\".beanmanager","jboss.deployment.unit.\"helloworld-classfiletransformers.war\".WeldStartService"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"helloworld-classfiletransformers.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"helloworld-classfiletransformers.war\".WeldStartService, jboss.deployment.unit.\"helloworld-classfiletransformers.war\".beanmanager]","jboss.deployment.unit.\"helloworld-classfiletransformers.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"helloworld-classfiletransformers.war\".beanmanager]"]}}}

       

              emartins@redhat.com Eduardo Martins
              mayerw Wolfgang Mayer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: