I initially encountered the same error while I installed DSpace too. But a big thanks to Mahesh Palamuttath who bailed me out. To solve this problem you just need to follow this step.
STEP 1. Execute the command below update-alternatives --config java STEP 2. Kindly select openjdk-8 as default The second one will be openjdk-8 STEP 3. Then re-run maven using mvn -U package Your Build will become successful. Best regards. On Friday, June 28, 2019 at 3:47:14 PM UTC+2, Glenn G wrote: > > I'm trying to install DSpace 6.3 on an Amazon Linux server (kernel 4.14) > running Tomcat 7. Following step 7 in the instructions, where I enter "mvn > package -Dmirage2.on=true", the build fails with the error messages > below. Can anyone suggest a fix? > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile > (default-compile) on project dspace-api: Compilation failure: Compilation > failure: > [ERROR] > /ebs/dspace-source/dspace-6.3-release/dspace-api/src/main/java/org/dspace/content/Community.java:[27,32] > > package org.apache.logging.log4j does not exist > [ERROR] > /ebs/dspace-source/dspace-6.3-release/dspace-api/src/main/java/org/dspace/content/Community.java:[55,26] > > cannot find symbol > [ERROR] symbol: class Logger > [ERROR] location: class org.dspace.content.Community > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/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 on the web visit https://groups.google.com/d/msgid/dspace-tech/94d948df-16a1-45d7-8874-4b2b348c9939%40googlegroups.com.
