Bug#692218: libmsv-java: Exception in thread "main" java.lang.NoClassDefFoundError: org/iso_relax/dispatcher/SchemaProvider

Giovanni Mascellani gio at debian.org
Wed May 22 13:12:10 UTC 2013


Il 03/11/2012 17:17, Oleksandr Gavenko ha scritto:
> Package: libmsv-java
> Version: 2009.1+dfsg1-3
> Severity: normal
> When I try convert xsd schema to rnc I got:
> 
>   $ java -jar /usr/share/java/msv-core.jar maven-v4_0_0.xsd maven-v4_0_0.rnc
> 
>   Exception in thread "main" java.lang.NoClassDefFoundError: org/iso_relax/dispatcher/SchemaProvider
>           at java.lang.Class.getDeclaredMethods0(Native Method)
>           at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
>           at java.lang.Class.getMethod0(Class.java:2685)
>           at java.lang.Class.getMethod(Class.java:1620)
>           at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:488)
>           at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:480)
>   Caused by: java.lang.ClassNotFoundException: org.iso_relax.dispatcher.SchemaProvider
>           at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>           at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>           at java.security.AccessController.doPrivileged(Native Method)
>           at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>           at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>           at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

This is the manifest from msv-core.jar:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: pbuilder
Build-Jdk: 1.6.0_24
Main-Class: com.sun.msv.driver.textui.Driver
Class-Path: xsdlib-2009.1.jar isorelax-debian.jar relaxngDatatype-debi
 an.jar msv-testharness-2009.1.jar xercesImpl-debian.jar xml-apis-1.4-
 debian.jar ant-debian.jar ant-launcher-debian.jar xml-resolver-debian
 .jar

Apparently the generated Class-Path is incorrect. I'll take care of
fixing it.

Gio.
-- 
Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 291 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130522/e3ab96b0/attachment.pgp>


More information about the pkg-java-maintainers mailing list