Dspace 6.3 Installation Error

216 views
Skip to first unread message

zizu zazwaz

unread,
Aug 21, 2020, 12:12:29 PM8/21/20
to DSpace Technical Support
I am installing Dspace 6.3 in windows 10. 
All java, ant and maven are working and configured properly.
But, I got the following error while installing "mvn package".
Would you please give me a solution, please?
Thank you very much, in advance.
[INFO] DSpace Parent Project .............................. SUCCESS [  3.567 s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [ 19.635 s]
[INFO] DSpace Kernel :: API and Implementation ............ FAILURE [ 14.401 s]
[INFO] DSpace Addon Modules ............................... SKIPPED
[INFO] DSpace Kernel :: Additions and Local Customizations  SKIPPED
[INFO] DSpace XML-UI (Manakin) ............................ SKIPPED
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
[INFO] DSpace JSP-UI ...................................... SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .............. SKIPPED
[INFO] DSpace RDF ......................................... SKIPPED
[INFO] DSpace RDF :: Local Customizations ................. SKIPPED
[INFO] DSpace REST :: API and Implementation .............. SKIPPED
[INFO] DSpace REST :: Local Customizations ................ SKIPPED
[INFO] DSpace SWORD ....................................... SKIPPED
[INFO] DSpace SWORD :: Local Customizations ............... SKIPPED
[INFO] DSpace SWORD v2 .................................... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED
[INFO] Apache Solr Webapp ................................. SKIPPED
[INFO] DSpace SOLR :: Local Customizations ................ SKIPPED
[INFO] DSpace OAI-PMH ..................................... SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO] DSpace XML-UI Mirage2 Theme ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  40.140 s
[INFO] Finished at: 2020-08-21T21:10:26+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project dspace-api: Cannot get the revision information from the scm repository :
[ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "C:\dspace-6.3\dspace-api"): CreateProcess error=2, The system cannot find the file specified
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :dspace-api
'cmd' is not recognized as an internal or external command,
operable program or batch file.

C:\dspace-6.3>

José Geraldo

unread,
Aug 21, 2020, 1:39:31 PM8/21/20
to zizu zazwaz, DSpace Technical Support
Hi,

Is git installed in this environment?

The error seems to be that git is not installed in this environment.

Livre de vírus. www.avast.com.

--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/bc5a8709-c0b9-46b6-937b-d545a5c407e1n%40googlegroups.com.


--
At.te,

José Geraldo


Livre de vírus. www.avast.com.

zizu zazwaz

unread,
Aug 21, 2020, 2:22:51 PM8/21/20
to DSpace Technical Support
You were right Jose it was not installed.
But even after I install it, I got the following error again.

FO] DSpace RDF ......................................... SKIPPED
[INFO] DSpace RDF :: Local Customizations ................. SKIPPED
[INFO] DSpace REST :: API and Implementation .............. SKIPPED
[INFO] DSpace REST :: Local Customizations ................ SKIPPED
[INFO] DSpace SWORD ....................................... SKIPPED
[INFO] DSpace SWORD :: Local Customizations ............... SKIPPED
[INFO] DSpace SWORD v2 .................................... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED
[INFO] Apache Solr Webapp ................................. SKIPPED
[INFO] DSpace SOLR :: Local Customizations ................ SKIPPED
[INFO] DSpace OAI-PMH ..................................... SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO] DSpace XML-UI Mirage2 Theme ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  59.934 s
[INFO] Finished at: 2020-08-21T23:50:17+05:30
[INFO] ------------------------------------------------------------------------
[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] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[13,22] package javax.xml.bind does not exist
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[14,22] package javax.xml.bind does not exist
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[15,22] package javax.xml.bind does not exist
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[38,13] cannot find symbol
[ERROR]   symbol:   class JAXBContext
[ERROR]   location: class org.dspace.authority.orcid.xml.Converter<T>
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[38,35] cannot find symbol
[ERROR]   symbol:   variable JAXBContext
[ERROR]   location: class org.dspace.authority.orcid.xml.Converter<T>
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[39,13] cannot find symbol
[ERROR]   symbol:   class Unmarshaller
[ERROR]   location: class org.dspace.authority.orcid.xml.Converter<T>
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[41,18] cannot find symbol
[ERROR]   symbol:   class JAXBException
[ERROR]   location: class org.dspace.authority.orcid.xml.Converter<T>
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[41,10] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[41,23] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[45,10] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[69,9] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[69,22] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[73,9] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/util/DnsLookup.java:[80,14] reference to Record is ambiguous
[ERROR]   both class org.xbill.DNS.Record in org.xbill.DNS and class java.lang.Record in java.lang match
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :dspace-api
'cmd' is not recognized as an internal or external command,
operable program or batch file.

C:\dspace-6.3>

José Geraldo

unread,
Aug 21, 2020, 2:38:07 PM8/21/20
to zizu zazwaz, DSpace Technical Support

Matheus Otoni

unread,
Aug 21, 2020, 2:39:10 PM8/21/20
to DSpace Technical Support
Hello, how are you?

Did you already see this files? I think that have some errors.

[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[13,22] package javax.xml.bind does not exist
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[14,22] package javax.xml.bind does not exist
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[15,22] package javax.xml.bind does not exist
[ERROR] /C:/dspace-6.3/dspace-api/src/main/java/org/dspace/authority/orcid/xml/Converter.java:[38,13] cannot find symbol


Your customizations can be made in the modules of each project ([src]/dspace/modules), making updating the dspace easier.

BR,
Matheus

zizu zazwaz

unread,
Aug 22, 2020, 5:47:05 AM8/22/20
to DSpace Technical Support
Hi Matheus, thanks for your kind response.
As per the list, these packages are existing as the following.
What do you think is wrong, please?

/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 */
package org.dspace.authority.orcid.xml;

import org.apache.log4j.Logger;
import org.xml.sax.SAXException;

import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import java.io.InputStream;
import java.net.URISyntaxException;

/**
 *
 * @author Antoine Snyers (antoine at atmire.com)
 * @author Kevin Van de Velde (kevin at atmire dot com)
 * @author Ben Bosman (ben at atmire dot com)
 * @author Mark Diggory (markd at atmire dot com)
 * @param <T> type
 */
public abstract class Converter<T> {

    /**
     * log4j logger
     */
    private static Logger log = Logger.getLogger(Converter.class);

    public abstract T convert(InputStream document);

    protected Object unmarshall(InputStream input, Class<?> type) throws SAXException, URISyntaxException {
        try {
            JAXBContext context = JAXBContext.newInstance(type);
            Unmarshaller unmarshaller = context.createUnmarshaller();
            return unmarshaller.unmarshal(input);
        } catch (JAXBException e) {
            throw new RuntimeException("Unable to unmarshall orcid message" + e);
        }
    }
}


Mark H. Wood

unread,
Aug 24, 2020, 8:33:49 AM8/24/20
to DSpace Technical Support
This makes me think that DSpace is being built using Java 11 rather
than Java 8. I believe that Oracle considers javax.xml.bind to be a
Java EE package, not Java SE, and that it was removed from the SE JDK
standard package set some time after Java 8.

DSpace 6x would need some work to run on Java 11. Better to build and
run it on Java 8.

DSpace 7x will be supported on Java 11+.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc
Reply all
Reply to author
Forward
0 new messages