Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5834

deployent-scanner needs org.wildfly.common

XMLWordPrintable

    • Low

      I updated my Wildfly-Core 18.x and Wildfly 26.x repositories yesterday and build "WildFly EE 26.1.0.Beta1-SNAPSHOT (WildFly Core 18.0.5.Final-SNAPSHOT)".

      Due to WFCORE-5594 the deployment-scanner needs a new dependency org.wildfly.common, otherwise you get this:

      14.03. 09:44:53,114 ERROR [org.jboss.as.server.deployment.scanner#run] WFLYDS0017: Initial deployment scan failed: java.lang.NoClassDefFoundError: org/wildfly/common/xml/SAXParserFactoryUtil
          at org.jboss.as.server.deployment.scanner.XmlCompletionScanner.isCompleteDocument(XmlCompletionScanner.java:51)
          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.isXmlComplete(FileSystemDeploymentService.java:1029)
          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:984)
          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:612)
          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.bootTimeScan(FileSystemDeploymentService.java:488)
          at org.jboss.as.server.deployment.scanner.DeploymentScannerAdd$2.run(DeploymentScannerAdd.java:158)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:750)
          at org.jboss.threads.JBossThread.run(JBossThread.java:513)
      Caused by: java.lang.ClassNotFoundException: org.wildfly.common.xml.SAXParserFactoryUtil from [Module "org.jboss.as.deployment-scanner" version 18.0.5.Final-SNAPSHOT from local module loader @17c68925 (finder: local module finder @7e0ea639 (roots: /mbi/tools/jboss/26.x/modules,/mbi/tools/jboss/26.x/modules/system/layers/base))]
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
          ... 14 more
      

              ehugonne1@redhat.com Emmanuel Hugonnet
              langfr Frank Langelage (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: