Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 1.0.3, 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      The buildinfo class should be getting packaged properly.

      $ java -jar build/jars/couchbase-client-1.1.0.jar
      Exception in thread "main" java.lang.NoClassDefFoundError: com/couchbase/client/BuildInfo
      Caused by: java.lang.ClassNotFoundException: com.couchbase.client.BuildInfo
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      $ jar -tvf build/jars/couchbase-client-1.1.0.jar | grep BuildInfo

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Show
        daschl Michael Nitschinger added a comment - http://review.couchbase.org/#/c/24048/
        Hide
        daschl Michael Nitschinger added a comment -

        michael@daschlbook ~/couchbase/couchbase-java-client $ java -jar build/jars/couchbase-client-1.1.0.jar
        Couchbase Java Client 1.1.0

        Tree Version: 1.1.0-13-g584a1f7
        Last Commit ID: 584a1f70953bcd90d120a0ef500d1eb9f791e582

        Compiled by michael@daschlbook.local on Fri Jan 18 09:33:37 CET 2013

        Show
        daschl Michael Nitschinger added a comment - michael@daschlbook ~/couchbase/couchbase-java-client $ java -jar build/jars/couchbase-client-1.1.0.jar Couchbase Java Client 1.1.0 Tree Version: 1.1.0-13-g584a1f7 Last Commit ID: 584a1f70953bcd90d120a0ef500d1eb9f791e582 Compiled by michael@daschlbook.local on Fri Jan 18 09:33:37 CET 2013

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes