Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1200

Windup distribution misses rewrite.jar in lib directory /classpath/

XMLWordPrintable

    • None

      I tried to build windup distribution for a test and it throws exception:

      > JBoss Windup, version 3.0.0-SNAPSHOT. JBoss Forge, version 2.24.1.Final
      Windup execution failed due to: org/ocpsoft/rewrite/config/Rule
      java.lang.NoClassDefFoundError: org/ocpsoft/rewrite/config/Rule
      	at java.lang.Class.getDeclaredMethods0(Native Method)
      	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
      	at java.lang.Class.getDeclaredMethods(Unknown Source)
      	at org.jboss.forge.furnace.proxy.javassist.util.proxy.SecurityActions.getDeclaredMethods(SecurityActions.java:30)
      	at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.getMethods(ProxyFactory.java:1121)
      	at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.getMethods(ProxyFactory.java:1098)
      	at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.makeSortedMethodList(ProxyFactory.java:803)
      	at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.computeSignature(ProxyFactory.java:810)
      	at org.jboss.forge.furnace.proxy.javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:398)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$3.call(ClassLoaderAdapterCallback.java:1043)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:956)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceResult(ClassLoaderAdapterCallback.java:252)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$200(ClassLoaderAdapterCallback.java:38)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:125)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
      	at org.jboss.forge.furnace.services.Imported_$$_javassist_2b9a316a-7458-44e5-97bb-4c134939426a.get(Imported_$$_javassist_2b9a316a-7458-44e5-97bb-4c134939426a.java)
      	at org.jboss.windup.bootstrap.commands.windup.DiscoverPackagesCommand.execute(DiscoverPackagesCommand.java:67)
      	at org.jboss.windup.bootstrap.Bootstrap.executePhase(Bootstrap.java:308)
      	at org.jboss.windup.bootstrap.Bootstrap.run(Bootstrap.java:166)
      	at org.jboss.windup.bootstrap.Bootstrap.main(Bootstrap.java:97)
      Caused by: java.lang.ClassNotFoundException: org.ocpsoft.rewrite.config.Rule
      	at java.net.URLClassLoader$1.run(Unknown Source)
      	at java.net.URLClassLoader$1.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      

              mnovotny@redhat.com Marek Novotny
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: