Dcm4che 3 Toolkit & Library Installation Failed

273 views
Skip to first unread message

Alejandro Benavides

unread,
Oct 16, 2016, 8:16:20 PM10/16/16
to dcm4che
Hi 

I try to install dcm4che 3 Toolkit & Library (https://github.com/dcm4che/dcm4che) I installed maven3 and openjdk-7-jdk openjdk-7-jre. When I run:

mvn install

I get the following error:

...
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] dcm4che DICOM toolkit and utilities ................ SUCCESS [  6.331 s]
[INFO] dcm4che-audit ...................................... SUCCESS [01:17 min]
[INFO] dcm4che-dict ....................................... SUCCESS [ 23.704 s]
[INFO] dcm4che-core ....................................... SUCCESS [ 35.760 s]
[INFO] dcm4che-conf ....................................... SUCCESS [  0.008 s]
[INFO] dcm4che-conf-core-api .............................. SUCCESS [  6.566 s]
[INFO] dcm4che-net ........................................ SUCCESS [  4.835 s]
[INFO] dcm4che-conf-core .................................. FAILURE [ 18.910 s]
[INFO] dcm4che-conf-api ................................... SKIPPED
...
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dcm4che-conf-core: Compilation failure
[ERROR] /home/ubuntu/dcm4che/dcm4che-conf/dcm4che-conf-core/src/main/java/org/dcm4che3/conf/core/storage/SingleJsonFileConfigurationStorage.java:[182,40] cannot find symbol
[ERROR] symbol:   method join(java.lang.String,java.lang.String[])
[ERROR] location: class java.lang.String
[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 <goals> -rf :dcm4che-conf-core
...

Maven version

ubuntu@api:~/dcm4che$ mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00)
Maven home: /usr/share/maven3
Java version: 1.7.0_111, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-42-generic", arch: "amd64", family: "unix"

I do not have much knowledge in java so I have difficulty in finding out what the problem happens when installing. Any ideas?

Hermann Czedik-Eysenberg

unread,
Oct 18, 2016, 10:44:02 AM10/18/16
to dcm4che
Hi Alejandro,

accidentally we introduced a dependency to a Java 8 function. It should be removed again.

Can you try again please?

Thanks for reporting!
Hermann

Alejandro Benavides

unread,
Oct 19, 2016, 10:51:10 AM10/19/16
to dcm4che
Resolved by Dcm4che team.

Chandu Penumarthi

unread,
Aug 6, 2019, 5:55:25 AM8/6/19
to dcm4che
 BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.705 s
[INFO] Finished at: 2019-08-06T15:20:07+05:30
[INFO] Final Memory: 107M/759M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project dcm4chee-arc-query: Compilation failure: Compilation failure:
[ERROR] /home/chandramouli/Documents/git/dicom/techvedika-dicomviewer-server/dcm4chee-arc-light/dcm4chee-arc-query/src/main/java/org/dcm4chee/arc/query/impl/SeriesQuery.java:[257,59] cannot find symbol
[ERROR] symbol:   variable SeriesMetadataUpdateFailures
[ERROR] location: class org.dcm4che3.dict.archive.ArchiveTag
[ERROR] /home/chandramouli/Documents/git/dicom/techvedika-dicomviewer-server/dcm4chee-arc-light/dcm4chee-arc-query/src/main/java/org/dcm4chee/arc/query/impl/SeriesQuery.java:[278,64] cannot find symbol
[ERROR] symbol:   variable SeriesMetadataCreationDateTime
[ERROR] location: class org.dcm4che3.dict.archive.ArchiveTag
[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 <goals> -rf :dcm4chee-arc-query
java -version
openjdk version "1.8.0_222"
mvn --version
Apache Maven 3.3.9

PLease suggest
Reply all
Reply to author
Forward
0 new messages