Could you then point me a more direct way of doing this ?
I tried to put the jar into the classpath but the same problem happened

Thanks,

Rhawi Dantas

On 3/5/07, Stephan Bergmann <[EMAIL PROTECTED]> wrote:

Rhawi Dantas wrote:
> I'm using Java 1.6 and Netbeans 5.5 with the extension to help building
> Add-Ins to OpenOffice.
>
> The problem is that when I try to deploy the extension in openoffice
> 2.1this message appears:
>
> ERROR: (com.sun.star.uno.RuntimeException) { { Message = "[jni_uno
bridge
> error] UNO calling Java method writeRegistryInfo: non-UNO exception
> occurred: java.lang.NoClassDefFoundError:
> org/jdesktop/http/Session\X000ajava stack

This indicates that your extension uses the Java class
org.jdesktop.http.Session, but does not find it.  Your extension will be
run in an environment were more-or-less only OOo's Java UNO runtime is
available (things like OOo's ridl.jar, jurt.jar, unoil.jar, etc.).  If
your extension needs additional classes, it has to include them (e.g.,
pack multiple jars into the extension, and have them find each other via
the jar manifest Class-Path entries).  No idea how this is most easily
done when developing with Netbeans.

-Stephan

[...]

Reply via email to