java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Caffeine

All your suggestions, requests and ideas for future development
Post Reply
thanatos216
Posts: 6
Joined: 26 Mar 2018, 15:57

java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Caffeine

Post by thanatos216 »

When running the filebot script from the command line I get this error.

Code: Select all

java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Caffeine
        at net.filebot.media.XattrMetaInfo.<init>(XattrMetaInfo.java:28)
        at net.filebot.media.XattrMetaInfo.<clinit>(XattrMetaInfo.java:23)
        at net.filebot.cli.ScriptShellMethods.getMetadata(ScriptShellMethods.java:439)
        at Script1$_run_closure50.doCall(Script1.groovy:297)
        at Script1.run(Script1.groovy:297)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:163)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:37)
        at net.filebot.Main.main(Main.java:131)
Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Caffeine
        ... 10 more
Here is my sysinfo

Code: Select all

filebot -script fn:sysinfo
FileBot 4.8.5 (r6189)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-03-01 (r555)
Groovy: 2.5.0
JRE: OpenJDK Runtime Environment 1.8.0_201
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 3 GB Max Memory / 30 MB Used Memory
OS: Linux (amd64)
HW: Linux  3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DATA: /filebot/data/root
Package: TAR
User avatar
rednoah
The Source
Posts: 22972
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Caffeine

Post by rednoah »

You'll need the latest complete package, so you have all the dependencies that the latest jar requires:
https://get.filebot.net/filebot/FileBot_4.8.5/
:idea: Please read the FAQ and How to Request Help.
thanatos216
Posts: 6
Joined: 26 Mar 2018, 15:57

Re: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Caffeine

Post by thanatos216 »

That worked. Thanks for the quick reply and support.
Post Reply