https://bugs.documentfoundation.org/show_bug.cgi?id=149069

Stephan Bergmann <sberg...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.st...@allotropia.de

--- Comment #2 from Stephan Bergmann <sberg...@redhat.com> ---
(In reply to Tobias Widmann from comment #0)
> We use libreoffice.jar from Maven to connect to a running (local or remote)
> LibreOffice instance. Since version 7.3.0, this results in a
> NoClassDefFoundError when calling UnoUrlResolver#resolve. We identified
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=97b61ea3297e04e64aab1e1a4ec50202e9f86fff as the source of this problem.
> The class com.sun.star.lib.unoloader.UnoClassLoader can't be found in
> libreoffice.jar, but instead in unoloader.jar.

The libreoffice.jar META-INF/MANIFEST.MF contains

> Class-Path:  unoloader.jar ../

which should avoid the issue that code from libreoffice.jar can't find classes
from unoloader.jar?  But maybe that's how Maven works, which I have little idea
about.

At worst, we could revert the problematic
<https://git.libreoffice.org/core/+/97b61ea3297e04e64aab1e1a4ec50202e9f86fff%5E%21>
"ridljar: check that UnoClassLoader is used for NativeLibraryLoader" again. 
Michael, what do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to