Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2067

instance-script terminates with NoClassDefFoundError

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf-instance
    • Labels:
      None

      Description

      $ bin/instance list
      
      Exception in thread "main" java.lang.NoClassDefFoundError: org/fusesource/jansi/AnsiConsole
      	at org.apache.karaf.instance.main.Execute.main(Execute.java:72)
      Caused by: java.lang.ClassNotFoundException: org.fusesource.jansi.AnsiConsole
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
      	... 1 more
      
      1. fix-instance-script-classpath.patch
        6 kB
        Christoph Gritschenberger

        Activity

        Hide
        pieber Andreas Pieber added a comment -

        the changes look good to me and run; +1

        Show
        pieber Andreas Pieber added a comment - the changes look good to me and run; +1
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1426251

          People

          • Assignee:
            jbonofre Jean-Baptiste Onofré
            Reporter:
            christophg Christoph Gritschenberger
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development