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 <mascell...@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to