On Wed, Mar 04, 2026 at 01:13:20PM +0000, Nason Bimbe wrote: > I have applied for DSpace 7.6.x > (https://github.com/DSpace/DSpace/issues/11678) and the build is failing with > the following: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile > (default-compile) on project dspace-api: Compilation failure: Compilation > failure: > [ERROR] > /usr/local/dspace/DSpace-dspace-7.6.5/dspace-api/src/main/java/org/dspace/importer/external/epo/service/EpoImportMetadataSourceServiceImpl.java:[32,46] > error: package org.apache.jena.ext.xerces.impl.dv.util does not exist > [ERROR] > /usr/local/dspace/DSpace-dspace-7.6.5/dspace-api/src/main/java/org/dspace/importer/external/epo/service/EpoImportMetadataSourceServiceImpl.java:[167,47] > error: cannot find symbol > [ERROR] symbol: variable Base64 > [ERROR] location: class EpoImportMetadataSourceServiceImpl
I ran into that recently while working on another part of DSpace. I don't know why the symbol is no longer available, but I think DSpace shouldn't be using that anyway. That class is internal to Xerces and, I am told, deprecated. There are reports that the standard JRE version is faster, too. I was able to make it compile by replacing -import org.apache.xerces.impl.dv.util.Base64; with +import java.util.Base64; I haven't tested the result yet. You will need to sort the new import into the other java.util imports in its proper order or Checkstyle will complain. If the change works for you, please let us know. -- 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/aamMcw19r-dMPHt2%40iu.edu.
bindc0pQ0588u.bin
Description: PGP Key 0xDA186C80E6EEA295.
signature.asc
Description: PGP signature
