Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 466

NoClassDefFoundError for jar dependencies

$
0
0

Hi

So I have been working on implementing this Java Library in a component. This has mostly gone flawlessly untill it wanned to call this Dependency.

I added the jar to /WEB-INF/lucee/lib like I did with the library but I still get a 500 saying io/nayuki/qrcodegen/QrCode$Ecc could not be found.

I’ve got it working before by moving the io directory from the qrcodegen.jar into the root of qrbill-generator.jar, but this does not seem like a satisfying, long-term solution.

Ive already looked at a Topic here that seemed to describe a similar issue but non of the suggestions helped.

Here is my component + my test: qrBill.zip (2.4 KB)

and here is the list of jar’s in /WEB-INF/lucee/lib:

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          03/12/2024    13:25         538940 qrbill-generator-3.3.1.jar
-a---          03/12/2024    13:17          38526 qrcodegen-1.8.0.jar

OS: windows
Tomcat Version: 9062
Lucee Version: 5.4.6.9

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 466

Trending Articles