Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1578

NoClassDefFoundError on org/jboss/forge/parser/java/util/Strings

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0
    • Component/s: build
    • Labels:
      None

      Description

      When installing the Forge tooling from the installer onto forge 1.3.2, seeing a NoClassDefFoundError on org/jboss/forge/parser/java/util/Strings :

      [echo] Unzipped SwitchYard forge plugin.
      [echo] Installing forge plugin to /Users/tcunning/.forge ...
      [java] java.lang.NoClassDefFoundError: org/jboss/forge/parser/java/util/Strings
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
      [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:597)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [java] at org.apache.tools.ant.Task.perform(Task.java:348)
      [java] at org.apache.tools.ant.Target.execute(Target.java:392)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:413)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
      [java] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:597)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [java] at org.apache.tools.ant.Task.perform(Task.java:348)
      [java] at org.apache.tools.ant.Target.execute(Target.java:392)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:413)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      [java] at org.apache.tools.ant.Main.runBuild(Main.java:811)
      [java] at org.apache.tools.ant.Main.startAnt(Main.java:217)
      [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      [java] Caused by: java.lang.NoClassDefFoundError: org/jboss/forge/parser/java/util/Strings
      [java] at org.jboss.forge.shell.InstalledPluginRegistry.install(InstalledPluginRegistry.java:134)
      [java] at org.switchyard.forge.installer.Installer.install(Installer.java:46)
      [java] at org.switchyard.forge.installer.Installer.main(Installer.java:59)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:597)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
      [java] ... 33 more
      [java] Caused by: java.lang.ClassNotFoundException: org.jboss.forge.parser.java.util.Strings
      [java] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
      [java] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
      [java] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1074)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      [java] ... 42 more
      [java] Java Result: -1

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tcunning Thomas Cunningham
                Reporter:
                tcunning Thomas Cunningham
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: