HI, i am install DspaceCris.

*CONFIGURATION: *

[dspace@ip-172 ~]$ java -version
*java version "1.7.0_231"*
OpenJDK Runtime Environment (rhel-2.6.19.2.el7_7-x86_64 u231-b01)
OpenJDK 64-Bit Server VM (build 24.231-b01, mixed mode)



[dspace@ip-172-]$ mvn -version
*Apache Maven 3.6.1* (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 
2019-04-04T19:00:29Z)
Maven home: /usr/java/apache-maven-3.6.1
Java version: 1.7.0_231, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.231-2.6.19.2.el7_7.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.12.2.el7.x86_64", arch: "amd64", 
family: "unix"

[dspace@ip-172-]$ ant -version
*Apache Ant(TM) version 1.9.4 *compiled on June 26 2018



I downloaded the version of dspacecris from:  git clone 
https://github.com/4Science/DSpace.git --branch dspace-5_x_x-cris 
dspace-parent/



But when executing the "mvn package" command, it generates the following 
error:


  mvn package


[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 ResourceSync :: Local Customizations ........ SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO] DSpace XML-UI Mirage2 Theme ........................ SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  23.587 s
[INFO] Finished at: 2019-09-05T22:22:08Z
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
(default-compile) on project dspace-cris-api: Compilation failure
[ERROR] 
/dspace/repositorio/crisinstallation/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/batch/ScriptCrisBulkExport.java:[113,40]
 
invalid inferred types for ACO,P,TP,NP,NTP,ACNO,ATNO; inferred type does 
not conform to declared bound(s)
[ERROR]     inferred: capture#1 of ?
[ERROR]     bound(s): 
org.dspace.app.cris.model.ACrisObject<it.cilea.osd.jdyna.model.Property<it.cilea.osd.jdyna.model.PropertiesDefinition>,it.cilea.osd.jdyna.model.PropertiesDefinition,it.cilea.osd.jdyna.model.ANestedProperty<it.cilea.osd.jdyna.model.ANestedPropertiesDefinition>,it.cilea.osd.jdyna.model.ANestedPropertiesDefinition,capture#2
 
of 
?,it.cilea.osd.jdyna.model.ATypeNestedObject<it.cilea.osd.jdyna.model.ANestedPropertiesDefinition>>
[ERROR]
[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] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :dspace-cris-api




any solution?

Thanks

David.

-- 
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 Community" 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-community/c0220ae0-80e0-4928-b245-6bb733882b54%40googlegroups.com.

Reply via email to