XStream
  1. XStream
  2. XSTR-487

HierarchicalStreamDriver not found

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.2, 1.3
    • Fix Version/s: None
    • Component/s: IO
    • Labels:
      None
    • JDK version and platform:
      sun 1.5

      Description

      Executing a jar file throws exception.
      No implementation of HierarchicalStreamDriver seems to be loadable.

      It works fine when executed within Eclipse 3.1
      but when exported to a jar it throws exception, when executed :

      G:\temp>java -jar xx.jar
      Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver
      ...

      I tried both with a default domdriver as
      XStream xstream = new XStream(new DomDriver());

      and included xpp3

      but no difference; fine in Eclipse but not at all in standalone jar.

      Perhaps there is some other jar that is missing ?

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          anders bremberg
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: