Weasis Build Error on Eclipse

582 views
Skip to first unread message

Jardel Matias

unread,
Jul 16, 2017, 4:31:29 PM7/16/17
to dcm4che
Hi guys, i'am having a little troubble when compiling Weasis from Eclipse, when I do so, weasis return the following error from Ecplise console:

***** Starting Configuration *****
felix.config.properties: file:/D:/TI%20&%20HACKING/PROJETOS/Weasis%20Project/weasis-launcher/conf/config.properties
felix.extended.config.properties: file:/D:/TI%20&%20HACKING/PROJETOS/Weasis%20Project/weasis-launcher/conf/ext-config.properties
Operating system: windows-x86-64
Preferences directory: C:\Users\francoatmega\.weasis\preferences\francoatmega\default
locale.lang.code: pt_BR
locale.format.code: pt_BR
org.apache.sling.commons.log.level: INFO
org.apache.sling.commons.log.file.activate: false
org.apache.sling.commons.log.file.number: 5
org.apache.sling.commons.log.file.size: 10MB
org.apache.sling.commons.log.stack.limit: 3
org.apache.sling.commons.log.pattern: {0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}] {3}: {5}
weasis.look: org.pushingpixels.substance.api.skin.SubstanceCremeCoffeeLookAndFeel
Last running version: 2.5.4-SNAPSHOT
Current version: 2.5.4-SNAPSHOT
weasis.resources.path: D:\TI & HACKING\PROJETOS\Weasis Project\weasis-distributions\resources
no protocol: /resources.zip

Clean plug-in cache because Weasis has crashed during the previous launch
***** End of Configuration *****

Starting...

| | /| / /__ ___ ____ (_)__
| |/ |/ / -_) _ `(_-</ (_-<
|__/|__/\__/\_,_/___/_/___/

Cannot install bundle: org.apache.felix.gogo.runtime-0.16.2 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.gogo.runtime\0.16.2\org.apache.felix.gogo.runtime-0.16.2.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-sr-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-sr\2.5.4-SNAPSHOT\weasis-dicom-sr-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-base-ui-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\base\weasis-base-ui\2.5.4-SNAPSHOT\weasis-base-ui-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: vecmath-1.5.2 (java.io.FileNotFoundException: \org\weasis\thirdparty\com\sun\media\vecmath\1.5.2\vecmath-1.5.2.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-viewer2d-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-viewer2d\2.5.4-SNAPSHOT\weasis-dicom-viewer2d-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.sling.commons.log-3.0.2-r3 (java.io.FileNotFoundException: \org\apache\sling\org.apache.sling.commons.log\3.0.2-r3\org.apache.sling.commons.log-3.0.2-r3.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.felix.configadmin-1.8.14 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.configadmin\1.8.14\org.apache.felix.configadmin-1.8.14.jar (O sistema não pode encontrar o caminho especificado))
Cannot install native bundle: weasis-imageio-codec-windows-x86-64-1.2-b04
Cannot install bundle: jai-lib-1.1.4-b07 (java.io.FileNotFoundException: \org\weasis\thirdparty\com\sun\media\jai-lib\1.1.4-b07\jai-lib-1.1.4-b07.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-image-jni-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\weasis-image-jni\2.5.4-SNAPSHOT\weasis-image-jni-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-core-api-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\core\weasis-core-api\2.5.4-SNAPSHOT\weasis-core-api-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install native bundle: weasis-openjpeg-codec-windows-x86-64-2.1.8
Cannot install bundle: slf4j-api-1.7.25 (java.io.FileNotFoundException: \org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.felix.metatype-1.1.2 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.metatype\1.1.2\org.apache.felix.metatype-1.1.2.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-codec\2.5.4-SNAPSHOT\weasis-dicom-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.felix.gogo.command-0.16.0 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.gogo.command\0.16.0\org.apache.felix.gogo.command-0.16.0.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-explorer-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-explorer\2.5.4-SNAPSHOT\weasis-dicom-explorer-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-imageio-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\imageio\weasis-imageio-codec\2.5.4-SNAPSHOT\weasis-imageio-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.felix.bundlerepository-2.0.10 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.bundlerepository\2.0.10\org.apache.felix.bundlerepository-2.0.10.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-au-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-au\2.5.4-SNAPSHOT\weasis-dicom-au-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install native bundle: weasis-jpeg-codec-windows-x86-64-1.0.7-6b
Cannot install bundle: org.apache.felix.prefs-1.1.0 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.prefs\1.1.0\org.apache.felix.prefs-1.1.0.jar (O sistema não pode encontrar o caminho especificado))
Cannot install native bundle: jai-lib-windows-x86-64-1.1.4-b03
Cannot install bundle: weasis-jpeg-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\jpeg\weasis-jpeg-codec\2.5.4-SNAPSHOT\weasis-jpeg-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.felix.scr-2.0.10 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.scr\2.0.10\org.apache.felix.scr-2.0.10.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-openjpeg-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\openjpeg\weasis-openjpeg-codec\2.5.4-SNAPSHOT\weasis-openjpeg-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: docking-frames-1.1.2-P19 (java.io.FileNotFoundException: \org\weasis\thirdparty\docking-frames\1.1.2-P19\docking-frames-1.1.2-P19.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-qr-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-qr\2.5.4-SNAPSHOT\weasis-dicom-qr-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: org.apache.felix.gogo.shell-0.12.0 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.gogo.shell\0.12.0\org.apache.felix.gogo.shell-0.12.0.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-dicom-send-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-send\2.5.4-SNAPSHOT\weasis-dicom-send-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-core-ui-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\core\weasis-core-ui\2.5.4-SNAPSHOT\weasis-core-ui-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot install bundle: weasis-base-viewer2d-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\base\weasis-base-viewer2d\2.5.4-SNAPSHOT\weasis-base-viewer2d-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.gogo.runtime-0.16.2 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.gogo.runtime\0.16.2\org.apache.felix.gogo.runtime-0.16.2.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-sr-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-sr\2.5.4-SNAPSHOT\weasis-dicom-sr-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-base-ui-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\base\weasis-base-ui\2.5.4-SNAPSHOT\weasis-base-ui-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: vecmath-1.5.2 (java.io.FileNotFoundException: \org\weasis\thirdparty\com\sun\media\vecmath\1.5.2\vecmath-1.5.2.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-viewer2d-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-viewer2d\2.5.4-SNAPSHOT\weasis-dicom-viewer2d-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.sling.commons.log-3.0.2-r3 (java.io.FileNotFoundException: \org\apache\sling\org.apache.sling.commons.log\3.0.2-r3\org.apache.sling.commons.log-3.0.2-r3.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.configadmin-1.8.14 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.configadmin\1.8.14\org.apache.felix.configadmin-1.8.14.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: jai-lib-1.1.4-b07 (java.io.FileNotFoundException: \org\weasis\thirdparty\com\sun\media\jai-lib\1.1.4-b07\jai-lib-1.1.4-b07.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-image-jni-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\weasis-image-jni\2.5.4-SNAPSHOT\weasis-image-jni-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-core-api-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\core\weasis-core-api\2.5.4-SNAPSHOT\weasis-core-api-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: slf4j-api-1.7.25 (java.io.FileNotFoundException: \org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.metatype-1.1.2 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.metatype\1.1.2\org.apache.felix.metatype-1.1.2.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-codec\2.5.4-SNAPSHOT\weasis-dicom-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.gogo.command-0.16.0 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.gogo.command\0.16.0\org.apache.felix.gogo.command-0.16.0.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-explorer-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-explorer\2.5.4-SNAPSHOT\weasis-dicom-explorer-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-imageio-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\imageio\weasis-imageio-codec\2.5.4-SNAPSHOT\weasis-imageio-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.bundlerepository-2.0.10 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.bundlerepository\2.0.10\org.apache.felix.bundlerepository-2.0.10.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-au-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-au\2.5.4-SNAPSHOT\weasis-dicom-au-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.prefs-1.1.0 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.prefs\1.1.0\org.apache.felix.prefs-1.1.0.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-jpeg-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\jpeg\weasis-jpeg-codec\2.5.4-SNAPSHOT\weasis-jpeg-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: org.apache.felix.scr-2.0.10 (java.io.FileNotFoundException: \org\apache\felix\org.apache.felix.scr\2.0.10\org.apache.felix.scr-2.0.10.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-openjpeg-codec-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\openjpeg\weasis-openjpeg-codec\2.5.4-SNAPSHOT\weasis-openjpeg-codec-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: docking-frames-1.1.2-P19 (java.io.FileNotFoundException: \org\weasis\thirdparty\docking-frames\1.1.2-P19\docking-frames-1.1.2-P19.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-qr-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-qr\2.5.4-SNAPSHOT\weasis-dicom-qr-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-dicom-send-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\dicom\weasis-dicom-send\2.5.4-SNAPSHOT\weasis-dicom-send-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-core-ui-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\core\weasis-core-ui\2.5.4-SNAPSHOT\weasis-core-ui-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot start bundle: weasis-base-viewer2d-2.5.4-SNAPSHOT (java.io.FileNotFoundException: \org\weasis\base\weasis-base-viewer2d\2.5.4-SNAPSHOT\weasis-base-viewer2d-2.5.4-SNAPSHOT.jar (O sistema não pode encontrar o caminho especificado))
Cannot not start framework: java.lang.IllegalStateException: Main User Interface bundle cannot be started
Weasis cache will be cleaned at next launch.
State of the framework:
 * org.apache.felix.framework-5.6.4.p1 ACTIVE


Can someone help me?

Nicolas Roduit

unread,
Jul 18, 2017, 2:30:26 PM7/18/17
to dcm4che
You should look at this page. The location of the maven local repository needs to be configured for debugging in a IDE.

Jardel Matias

unread,
Jul 19, 2017, 4:37:26 PM7/19/17
to dcm4che
Man, i follow the steps in order and continuing to have erros.

The last one error is the following:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] weasis-parent
[INFO] Parent of Core Plug-ins [weasis-core-parent]
[INFO] Weasis Core API [weasis-core-api]
[INFO] Weasis UI API (j2se) [weasis-core-ui]
[INFO] Core Plug-ins [weasis-core]
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent]
[INFO] ImageIO Codec [weasis-imageio-codec]
[INFO] ImageIO native Windows x86 codec
[INFO] ImageIO native Linux x86 codec
[INFO] ImageIO native Linux amd64 codec
[INFO] ImageIO Plug-ins [weasis-imageio]
[INFO] JPEG Codec [weasis-image-jni]
[INFO] Parent of Native JPEG Library
[INFO] Native JPEG Codecs [weasis-jpeg-codec]
[INFO] JPEG native Windows x86 codec
[INFO] JPEG native Windows x86-64 codec
[INFO] JPEG native Linux x86 codec
[INFO] JPEG native Linux amd64 codec
[INFO] JPEG native Mac amd64 codec
[INFO] Additional Image Codecs [weasis-codec]
[INFO] Native JPEG Library [weasis-jpeg]
[INFO] Parent of OpenJPEG Library
[INFO] Native OpenJPEG Codec [weasis-openjpeg-codec]
[INFO] openjpeg native Windows x86 codec
[INFO] openjpeg native Windows x86-64 codec
[INFO] openjpeg native Linux x86 codec
[INFO] OpenJPEG Linux amd64 codec
[INFO] openjpeg native Mac amd64 codec
[INFO] OpenJPEG Library [weasis-openjpeg]
[INFO] Parent of Default Plug-ins [weasis-base-parent]
[INFO] Weasis Base UI [weasis-base-ui]
[INFO] Media Explorer [weasis-base-explorer]
[INFO] Image Viewer [weasis-base-viewer2d]
[INFO] Default Plug-ins [weasis-base]
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent]
[INFO] DICOM Codec [weasis-dicom-codec]
[INFO] DICOM Data Explorer [weasis-dicom-explorer]
[INFO] Media Importer [weasis-acquire-explorer]
[INFO] Tool panel sample [weasis-acquire-editor]
[INFO] Default Plug-ins [weasis-acquire]
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d]
[INFO] DICOM Structured Report Viewer [weasis-dicom-sr]
[INFO] DICOM AU Player [weasis-dicom-au]
[INFO] weasis-dicom-send
[INFO] weasis-dicom-qr
[INFO] DICOM Plug-ins [weasis-dicom]
[INFO] Weasis Launcher (Felix) [weasis-launcher]
[INFO] weasis-framework
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building weasis-parent 2.5.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ weasis-parent ---
[INFO] Installing D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\Weasis-master\weasis-parent\pom.xml to C:\Users\francoatmega\.m2\repository\org\weasis\weasis-parent\2.5.4-SNAPSHOT\weasis-parent-2.5.4-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent of Core Plug-ins [weasis-core-parent] 2.5.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ weasis-core-parent ---
[INFO] Installing D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\Weasis-master\weasis-core\weasis-core-parent\pom.xml to C:\Users\francoatmega\.m2\repository\org\weasis\core\weasis-core-parent\2.5.4-SNAPSHOT\weasis-core-parent-2.5.4-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis Core API [weasis-core-api] 2.5.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ weasis-core-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 48 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ weasis-core-api ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ weasis-core-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\Weasis-master\weasis-core\weasis-core-api\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ weasis-core-api ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ weasis-core-api ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.weasis.core.api.media.data.TagWTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.046 sec - in org.weasis.core.api.media.data.TagWTest
Running org.weasis.core.api.service.WPropertiesTest
19.07.2017 17:30:33.794 *ERROR* [main] org.weasis.core.api.service.WProperties Cannot parse color null into int
19.07.2017 17:30:33.816 *ERROR* [main] org.weasis.core.api.service.WProperties Cannot parse color sf into int
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.766 sec - in org.weasis.core.api.service.WPropertiesTest

Results :

Tests run: 19, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ weasis-core-api ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ weasis-core-api ---
[INFO] Installing D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\Weasis-master\weasis-core\weasis-core-api\target\weasis-core-api-2.5.4-SNAPSHOT.jar to C:\Users\francoatmega\.m2\repository\org\weasis\core\weasis-core-api\2.5.4-SNAPSHOT\weasis-core-api-2.5.4-SNAPSHOT.jar
[INFO] Installing D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\Weasis-master\weasis-core\weasis-core-api\pom.xml to C:\Users\francoatmega\.m2\repository\org\weasis\core\weasis-core-api\2.5.4-SNAPSHOT\weasis-core-api-2.5.4-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:install (default-install) @ weasis-core-api ---
[INFO] Writing OBR metadata
[INFO] Installing org/weasis/core/weasis-core-api/2.5.4-SNAPSHOT/weasis-core-api-2.5.4-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis UI API (j2se) [weasis-core-ui] 2.5.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ weasis-core-ui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 104 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ weasis-core-ui ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 149 source files to D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\Weasis-master\weasis-core\weasis-core-ui\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] weasis-parent ...................................... SUCCESS [  2.120 s]
[INFO] Parent of Core Plug-ins [weasis-core-parent] ....... SUCCESS [  0.148 s]
[INFO] Weasis Core API [weasis-core-api] .................. SUCCESS [ 41.023 s]
[INFO] Weasis UI API (j2se) [weasis-core-ui] .............. FAILURE [  1.537 s]
[INFO] Core Plug-ins [weasis-core] ........................ SKIPPED
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent] . SKIPPED
[INFO] ImageIO Codec [weasis-imageio-codec] ............... SKIPPED
[INFO] ImageIO native Windows x86 codec ................... SKIPPED
[INFO] ImageIO native Linux x86 codec ..................... SKIPPED
[INFO] ImageIO native Linux amd64 codec ................... SKIPPED
[INFO] ImageIO Plug-ins [weasis-imageio] .................. SKIPPED
[INFO] JPEG Codec [weasis-image-jni] ...................... SKIPPED
[INFO] Parent of Native JPEG Library ...................... SKIPPED
[INFO] Native JPEG Codecs [weasis-jpeg-codec] ............. SKIPPED
[INFO] JPEG native Windows x86 codec ...................... SKIPPED
[INFO] JPEG native Windows x86-64 codec ................... SKIPPED
[INFO] JPEG native Linux x86 codec ........................ SKIPPED
[INFO] JPEG native Linux amd64 codec ...................... SKIPPED
[INFO] JPEG native Mac amd64 codec ........................ SKIPPED
[INFO] Additional Image Codecs [weasis-codec] ............. SKIPPED
[INFO] Native JPEG Library [weasis-jpeg] .................. SKIPPED
[INFO] Parent of OpenJPEG Library ......................... SKIPPED
[INFO] Native OpenJPEG Codec [weasis-openjpeg-codec] ...... SKIPPED
[INFO] openjpeg native Windows x86 codec .................. SKIPPED
[INFO] openjpeg native Windows x86-64 codec ............... SKIPPED
[INFO] openjpeg native Linux x86 codec .................... SKIPPED
[INFO] OpenJPEG Linux amd64 codec ......................... SKIPPED
[INFO] openjpeg native Mac amd64 codec .................... SKIPPED
[INFO] OpenJPEG Library [weasis-openjpeg] ................. SKIPPED
[INFO] Parent of Default Plug-ins [weasis-base-parent] .... SKIPPED
[INFO] Weasis Base UI [weasis-base-ui] .................... SKIPPED
[INFO] Media Explorer [weasis-base-explorer] .............. SKIPPED
[INFO] Image Viewer [weasis-base-viewer2d] ................ SKIPPED
[INFO] Default Plug-ins [weasis-base] ..................... SKIPPED
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent] ..... SKIPPED
[INFO] DICOM Codec [weasis-dicom-codec] ................... SKIPPED
[INFO] DICOM Data Explorer [weasis-dicom-explorer] ........ SKIPPED
[INFO] Media Importer [weasis-acquire-explorer] ........... SKIPPED
[INFO] Tool panel sample [weasis-acquire-editor] .......... SKIPPED
[INFO] Default Plug-ins [weasis-acquire] .................. SKIPPED
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d] ............ SKIPPED
[INFO] DICOM Structured Report Viewer [weasis-dicom-sr] ... SKIPPED
[INFO] DICOM AU Player [weasis-dicom-au] .................. SKIPPED
[INFO] weasis-dicom-send .................................. SKIPPED
[INFO] weasis-dicom-qr .................................... SKIPPED
[INFO] DICOM Plug-ins [weasis-dicom] ...................... SKIPPED
[INFO] Weasis Launcher (Felix) [weasis-launcher] .......... SKIPPED
[INFO] weasis-framework ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.899 s
[INFO] Finished at: 2017-07-19T17:30:51-03:00
[INFO] Final Memory: 22M/211M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project weasis-core-ui: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[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 :weasis-core-ui

Nicolas Roduit

unread,
Jul 20, 2017, 5:21:15 PM7/20/17
to dcm4che
You need a JDK for executing maven in Eclipse

Jardel Matias

unread,
Jul 21, 2017, 12:06:11 PM7/21/17
to dcm4che
I really think that the problem is with m2e plugin.
Here what i have done, i download Maven and run the mvn install from command line. Everything was ok. Then i go on eclipse and run maven install, and how all dependencies was previsouly donwloaded it works like i charm.
The only problem now is that i cannot run Weasis, the same error appears.

no protocol: /resources.zip

weasis.resources.path: D:\TI & HACKING\PROJETOS\WEASIS\Weasis-master\weasis-distributions\resources
Any idea how to create the resource.zip file? 

Em domingo, 16 de julho de 2017 17:31:29 UTC-3, Jardel Matias escreveu:

Jardel Matias

unread,
Jul 21, 2017, 12:38:16 PM7/21/17
to dcm4che
I think that i need chagne the path of this variable weasis.resources.path
How can i do that?

Nicolas Roduit

unread,
Jul 22, 2017, 3:06:04 AM7/22/17
to dcm4che
No, just follow carefully the instructions "Debug or Run from Eclipse" from this page. You need to define where the local maven repository is located.

Jardel Matias

unread,
Aug 26, 2017, 3:37:34 AM8/26/17
to dcm4che
Thanks, Weasis is working like I charm now!

Nicolas Roduit

unread,
Aug 26, 2017, 3:57:56 AM8/26/17
to dcm4che
In next version 2.6, it won't be necessary anymore to define the maven local repository.

Jardel Matias

unread,
Aug 27, 2017, 4:05:56 AM8/27/17
to dcm4che
This will be great. ;)

But now I came with another trouble, when building weasis from source, with the -Dportable=true the maven fail to execute. Because of a missing dependency.

[INFO] Configured Artifact: org.weasis:weasis-i18n-dist:2.0.0-SNAPSHOT:zip
[DEBUG] Could not find metadata org.weasis:weasis-i18n-dist:2.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Users\francoatmega\.m2\repository)
[DEBUG] Could not find metadata org.weasis:weasis-i18n-dist:2.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Users\francoatmega\.m2\repository)
[WARNING] The POM for org.weasis:weasis-i18n-dist:zip:2.0.0-SNAPSHOT is missing, no dependency information available

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2017-08-27T04:45:01-03:00
[INFO] Final Memory: 16M/97M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.1:unpack (unpack-i18njar) on project weasis-distributions: Unable to find/resolve artifact.: Could not find artifact org.weasis:weasis-i18n-dist:zip:2.0.0-SNAPSHOT -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.1:unpack (unpack-i18njar) on project weasis-distributions: Unable to find/resolve artifact.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to find/resolve artifact.
        at org.apache.maven.plugins.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:251)
        at org.apache.maven.plugins.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(AbstractFromConfigurationMojo.java:167)
        at org.apache.maven.plugins.dependency.fromConfiguration.UnpackMojo.getProcessedArtifactItems(UnpackMojo.java:148)
        at org.apache.maven.plugins.dependency.fromConfiguration.UnpackMojo.doExecute(UnpackMojo.java:105)
        at org.apache.maven.plugins.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:143)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
Caused by: org.apache.maven.shared.artifact.resolve.ArtifactResolverException: Could not find artifact org.weasis:weasis-i18n-dist:zip:2.0.0-SNAPSHOT
        at org.apache.maven.shared.artifact.resolve.internal.Maven31ArtifactResolver.resolveArtifact(Maven31ArtifactResolver.java:116)
        at org.apache.maven.shared.artifact.resolve.internal.Maven31ArtifactResolver.resolveArtifact(Maven31ArtifactResolver.java:80)
        at org.apache.maven.shared.artifact.resolve.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:73)
        at org.apache.maven.plugins.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:247)
        ... 26 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.weasis:weasis-i18n-dist:zip:2.0.0-SNAPSHOT
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:255)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:232)
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:303)
        at org.apache.maven.shared.artifact.resolve.internal.Maven31ArtifactResolver.resolveArtifact(Maven31ArtifactResolver.java:108)
        ... 29 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.weasis:weasis-i18n-dist:zip:2.0.0-SNAPSHOT
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:443)
        ... 33 more
[ERROR]

[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/MojoExecutionException


Yeah, I haved install all the plugins in local maven repository, but this one above wasn't there. Any solution?

Nicolas Roduit

unread,
Aug 28, 2017, 8:50:09 AM8/28/17
to dcm4che
This file is available on the maven repository. So, it could be a file corrupted in your local maven repository. You can either delete the org/weasis/weasis-i18n-dist or try to force maven to redownload the files by the parameter "-U".

andrea...@atsmed.it

unread,
Oct 27, 2017, 8:46:42 AM10/27/17
to dcm4che
I'm having the same problem.
Could it be related to "Status 400" of this page? https://raw.github.com/nroduit/mvn-repo/master/

I solved with a manual download of the github mvn-repo merged with actual maven repo.

Nicolas Roduit

unread,
Oct 28, 2017, 3:01:03 AM10/28/17
to dcm4che
No the status 400 is not a problem.

There is a problem when building the distribution(the translations snapshot package is not found) with the latest source because the maven repository is configured only for release:
{code}
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>mvn-repo-master</id>
</repository>
{code}

I will fix this problem.

Otherwise if your are building with Eclipse, try to build in command line (or with the Terminal plugin within Eclipse) as there are many issues with the maven integration. Another trick is to update all maven projects: right click on the project and Maven > Update Project Configuration.
Reply all
Reply to author
Forward
0 new messages