Loading ...
Sorry, an error occurred while loading the content.
 

Command line problems

Expand Messages
  • iguanadon55
    I hava done the following: * downloaded msv[1].20030225.zip * extracted all of the files * ran $java -jar msv.jar myschema.xsd mymxl.mxl and got the
    Message 1 of 4 , Apr 10, 2004
      I hava done the following:
      * downloaded msv[1].20030225.zip
      * extracted all of the files
      * ran
      $java -jar msv.jar myschema.xsd mymxl.mxl

      and got the following:
      Exception in thread "main" java.lang.NoClassDefFoundError:
      org/xml/sax/SAXException

      I got that error on both Win32 and Solaris.

      Any ideas? What am I doing wrong?

      jonathan
    • iguanadon55
      Correction, that s: $java -jar msv.jar myschema.xsd myxml.xml Note: I m running the command from the directory where msv.jar and the xsd/xml files reside. The
      Message 2 of 4 , Apr 10, 2004
        Correction, that's:
        $java -jar msv.jar myschema.xsd myxml.xml

        Note:
        I'm running the command from the directory where msv.jar and
        the xsd/xml files reside.
        The file is successfully validated by Xerces...

        Any ideas?



        --- In msv-interest@yahoogroups.com, "iguanadon55" <jonathan@p...>
        wrote:
        > I hava done the following:
        > * downloaded msv[1].20030225.zip
        > * extracted all of the files
        > * ran
        > $java -jar msv.jar myschema.xsd mymxl.mxl
        >
        > and got the following:
        > Exception in thread "main" java.lang.NoClassDefFoundError:
        > org/xml/sax/SAXException
        >
        > I got that error on both Win32 and Solaris.
        >
        > Any ideas? What am I doing wrong?
        >
        > jonathan
      • Kohsuke Kawaguchi
        Try newer version from http://msv.dev.java.net/ This is a known problem in the version posted at http://www.sun.com/ regards, -- Kohsuke Kawaguchi Sun
        Message 3 of 4 , Apr 12, 2004
          Try newer version from http://msv.dev.java.net/

          This is a known problem in the version posted at http://www.sun.com/

          regards,
          --
          Kohsuke Kawaguchi
          Sun Microsystems kohsuke.kawaguchi@...
        • iguanadon55
          Kohsuke, I looked at http://msv.dev.java.net, but I m still confused. The only files I could find to download are the 4 files under Nightly Build. None of
          Message 4 of 4 , Apr 12, 2004
            Kohsuke,

            I looked at http://msv.dev.java.net, but I'm still confused.
            The only files I could find to download are the 4 files under
            "Nightly Build."

            None of those look like what I want (command line validator) -
            xmlgen.zip and relames.zip have a version of msv.jar but running
            those produce the same error:
            Exception in thread "main" java.lang.NoClassDefFoundError:
            org/xml/sax/SAXException

            What file should I be downloading? Do I run it from the command
            line as
            $java -jar msv.jar ....
            Or something else?

            Thanks,
            jm


            --- In msv-interest@yahoogroups.com, Kohsuke Kawaguchi
            <kohsuke.kawaguchi@s...> wrote:
            >
            > Try newer version from http://msv.dev.java.net/
            >
            > This is a known problem in the version posted at http://www.sun.com/
            >
            > regards,
            > --
            > Kohsuke Kawaguchi
            > Sun Microsystems kohsuke.kawaguchi@s...
          Your message has been successfully submitted and would be delivered to recipients shortly.