On Fri, Mar 06, 2026 at 12:15:39PM +0000, Nason Bimbe wrote:
> I have made the change on the import and also the following line and the 
> build is fine.
> 
> /*params.put("Authorization", "Basic " + 
> Base64.encode(authString.getBytes()));*/
> params.put("Authorization", "Basic " + 
> Base64.getEncoder().encodeToString(authString.getBytes()));

Good!

> When I run dspace/bin/dspace filter-media I get the following...
> 
> The script has started
> org.dspace.core.PluginInstantiationException: Cannot load plugin class: 
> java.lang.ClassNotFoundException: org.dspace.app.mediafilter.PDFBoxThumbnail
>         at 
> org.dspace.core.LegacyPluginServiceImpl.getNamedPlugin(LegacyPluginServiceImpl.java:355)
>         at 
> org.dspace.app.mediafilter.MediaFilterScript.internalRun(MediaFilterScript.java:139)
>         at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150)
>         at 
> org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:155)
>         at 
> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
>         at 
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:100)
> Caused by: java.lang.ClassNotFoundException: 
> org.dspace.app.mediafilter.PDFBoxThumbnail
>         at 
> org.dspace.core.PathsClassLoader.findClass(PathsClassLoader.java:131)
>         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
>         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
>         at java.base/java.lang.Class.forName0(Native Method)
>         at java.base/java.lang.Class.forName(Class.java:469)
>         at 
> org.dspace.core.LegacyPluginServiceImpl.getNamedPlugin(LegacyPluginServiceImpl.java:343)
>         ... 5 more

I think this is an unrelated problem.  The fix for building affects
fetching metadata from the European Patent Office, which should have
no connection with thumbnail extraction.  The "missing" class exists
in the latest sources and in 7.6.x, so the problem is that somehow it
is not on the classpath.  Was it inadvertently deleted?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
library.indianapolis.iu.edu

ORCiD:  0000-0002-9558-3768

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://lyrasis.org/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/aartzRPfnHhltJvr%40iu.edu.

Attachment: bin5Sa5UnkRUg.bin
Description: PGP Key 0xDA186C80E6EEA295.

Attachment: signature.asc
Description: PGP signature

Reply via email to