Hi Michael,

Good catch.  I think you are correct that the commons-io and commons-lang3 
may need to be updated if you try to perform a manual patch.  We didn't 
realize that the latest versions of PDFBox and Tika depend on changes that 
are specific to those latest versions of commons-io and commons-lang3.

I suspect others may have just upgraded directly to 7.6.6, 8.3 or 9.2, 
which is why we hadn't caught this mistake in the patch instructions sooner.

In any case, I've updated the issue ticket with these 
details: https://github.com/DSpace/DSpace/issues/11678

Tim

On Thursday, January 15, 2026 at 10:53:28 AM UTC-6 Michael Plate wrote:

> Hi,
>
> following
>
> https://github.com/DSpace/DSpace/issues/11678
>
> I have applied the patch for our DSpace 8.0 Test System.
>
> The patch did not apply ootb, mostly stuff inside the pom.xml (patch did 
> not find the matching text), manually corrected it and it compiled and 
> installed.
>
> However, running "filter-media-p "Text Extractor" -v -f"
> on the repo failed on a xlsx file with something like
> java.lang.NoSuchMethodError: 
> 'org.apache.commons.io.input.BoundedInputStream$Builder 
> org.apache.commons.io.input.BoundedInputStream.builder()
> […]
>
>
> I did some research and ended up editing the pom.xml again, changing 
> some Apache commons stuff to the versions from the latest 8.x release:
>
> old:
> […]
> <dependency>
> <groupId>commons-io</groupId>
> <artifactId>commons-io</artifactId>
> <version>2.15.1</version>
> </dependency>
> <dependency>
> <groupId>org.apache.commons</groupId>
> <artifactId>commons-lang3</artifactId>
> <version>3.14.0</version>
> </dependency>
> […]
>
> new:
> […]
> <dependency>
> <groupId>commons-io</groupId>
> <artifactId>commons-io</artifactId>
> <version>2.21.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.commons</groupId>
> <artifactId>commons-lang3</artifactId>
> <version>3.20.0</version>
> </dependency>
> […]
>
> compiled, installed and filter-media worked.
>
> My problem is presumably having side-effects I don't know. So I'm asking 
> for some comments on that way, or if anyone else made the same experience ?
>
> Michael
>
>

-- 
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/b291a0e0-b7b1-4062-93a4-684319771537n%40googlegroups.com.

Reply via email to