Failure in installing DSpace 7.1.1 on Ubuntu 20.04

335 views
Skip to first unread message

Eugene Charles

unread,
Jan 6, 2022, 1:04:55 PM1/6/22
to DSpace Community
I couldn't complete the installation of DSpace 7.1.1 on Ubuntu 20.04

Error:

An exception has occurred in the compiler (17.0.1). Please file a bug against th e Java compiler via the Java bug reporting page (http://bugreport.java.com) afte r checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compile r in your report. Thank you.
java.lang.IllegalAccessError: class com.google.errorprone.ErrorProneJavacPlugin (in unnamed module @0x9d99851) cannot access class com.sun.tools.javac.api.Basic JavacTask (in module jdk.compiler) because module jdk.compiler does not export c om.sun.tools.javac.api to unnamed module @0x9d99851

Screenshots attached.

Expecting suggestions to resolve this.



Error1.png
Error2.png

Tim Donohue

unread,
Jan 6, 2022, 1:08:49 PM1/6/22
to Eugene Charles, DSpace Community
Hi Eugene,

It sounds like you may be trying to build DSpace with an unsupported Java version (possibly Java 17?).  At this time, DSpace 7 only supports Java 11 as noted in the installation instructions at https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-JavaJDK11(OpenJDKorOracleJDK)

If you run into other issues, let us know on this list.

Tim

From: dspace-c...@googlegroups.com <dspace-c...@googlegroups.com> on behalf of Eugene Charles <charl...@univ.jfn.ac.lk>
Sent: Thursday, January 6, 2022 11:56 AM
To: DSpace Community <dspace-c...@googlegroups.com>
Subject: [dspace-community] Failure in installing DSpace 7.1.1 on Ubuntu 20.04
 
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/b482fabf-c9fa-489a-8e10-f4bca4872c73n%40googlegroups.com.

Eugene Charles

unread,
Jan 10, 2022, 1:19:00 AM1/10/22
to Tim Donohue, dspace-c...@googlegroups.com
Dear Tim,

I have resolved that issue and completed the installation - both backend and front end. I have installed apache2 and set up the reverse proxy as well with https.

URL of this instance is - https://rer.jfn.ac.lk/

But, I am getting an error message when trying the login.html - "Failed to connect with backend"


Part of the /dspace-source/dspace/config/local.cfg is given below:

dspace.dir=/opt/dspace

dspace.server.url = http://localhost:8080/

dspace.ui.url = http://localhost:4000

Kindly help me to resolve this issue.

Thanks
Charles

Dr. E. Y. A. Charles
Senior Lecturer in Computer Science & Director / OTS
University of Jaffna

Tim Donohue

unread,
Jan 10, 2022, 11:01:12 AM1/10/22
to Eugene Charles, dspace-c...@googlegroups.com
Hi Eugene,

Please see our "Common Installation" issues guide, especially the sections on how to find the underlying error message: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-Troubleshootanerrororfinddetailederrormessages

I suspect the underlying error might be this "No _links section found at...", but you should check to be sure. If that's the error though, here's the guide for fixing it: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22No_linkssectionfoundat...%22errorfromUserInterface

Several other guides are listed in that same section for other common error messages, so it's important to find the detailed​ error message, as this will guide you to which fix should work for you.

Good luck and let us know on this list if you need more help.

Tim

From: Eugene Charles <charl...@univ.jfn.ac.lk>
Sent: Monday, January 10, 2022 12:18 AM
To: Tim Donohue <tim.d...@lyrasis.org>; dspace-c...@googlegroups.com <dspace-c...@googlegroups.com>
Subject: Re: [dspace-community] Failure in installing DSpace 7.1.1 on Ubuntu 20.04
 
Reply all
Reply to author
Forward
0 new messages