Using the DCM4CHE framework in Java

1,677 views
Skip to first unread message

Ben Ganley

unread,
Apr 12, 2016, 11:33:37 PM4/12/16
to dcm4che

I am new to Java and very new to Maven. I currently have my project configured with the quickstart archetype and have got the project to compile fine. I am running in to troubles trying to get the DCM4CHE libraries to work with this Maven project as I am not sure where they should go in the file structure as well as how they should be linked to my project ( I'm assuming as a dependency in my pom, but I can't find the right way to do it ). I have done a fair bit of Googling on the issue and can't seem to find anything useful, or that will work, on how to link them.

I am running Maven 3.3.9, Java 1.8.0.

My current pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.srgmri.apps</groupId>
  <artifactId>hospital</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>hospital</name>
  <url>http://maven.apache.org</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-servlet</artifactId>
      <version>9.3.9.M0</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-server</artifactId>
      <version>9.3.9.M0</version>
    </dependency>
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.1.38</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

and a link to the DCM4CHE libraries I am trying to import.

I am using Komodo IDE as my editor and am compiling using Maven on the command line.

My current file structure Current directory structure

Would really appreciate some guidance on how I can use these libraries in my main classes!

Dimitri Pianeta

unread,
Apr 13, 2016, 3:37:16 AM4/13/16
to dcm...@googlegroups.com
Syntax maven for dcm4che3:

<dependency>
    <groupId>org.dcm4che</groupId>
    <artifactId>dcm4che-core</artifactId>
    <version>3.3.7</version>
</dependency>
<dependency>
    <groupId>org.dcm4che.tool</groupId>
    <artifactId>dcm4che-tool-storescp</artifactId>
    <version>3.3.7</version>
</dependency>

...


Ben Ganley

unread,
Apr 13, 2016, 4:25:41 AM4/13/16
to dcm4che
Thanks Dimitri, 

I get the following error when I add that dependency to my POM.

Downloading: https://repo.maven.apache.org/maven2/org/dcm4che/dcm4che-core/3.3.7/dcm4che-core-3.3.7.jar

 

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 2.890 s

[INFO] Finished at: 2016-04-13T20:21:59+12:00

[INFO] Final Memory: 12M/245M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project hospital: Could not resolve dependencies for project com.srgmri.apps:hospital:jar:1.0: Could not find artifact org.dcm4che:dcm4che-core:jar:3.3.7 in central (https://repo.maven.apache.org/maven2) -> [Help 1]


I assume this is because the source isn't published in the central maven repositories. To solve this, how do I add the path to the cloned source so that maven will look there when trying to resolve the dependency?

Dimitri Pianeta

unread,
Apr 13, 2016, 4:52:47 AM4/13/16
to dcm...@googlegroups.com
I find that example dcm4che2 following : 

The file pom of dcm4che : http://www.dcm4che.org/maven2/dcm4che/dcm4che/2.0.26/dcm4che-2.0.26.pom
And files maven : http://www.dcm4che.org/maven2/

Seeing here example in source dcm4che3 (.pom) : https://github.com/dcm4che/dcm4che/blob/master/dcm4che-all/pom.xml

Ben Ganley

unread,
Apr 13, 2016, 5:17:53 AM4/13/16
to dcm4che
That's where I am getting a bit lost, that is for dcm4che toolkit 2, not version 3. 

It looks like there is no maven repository for version 3 yet and thus need to be able to import the dependencies locally from the downloaded source from github. I will continue to try ways of importing the source locally

Hermann Czedik-Eysenberg

unread,
Apr 13, 2016, 10:09:34 AM4/13/16
to dcm...@googlegroups.com
You can find dcm4che 3 also in the Maven repository http://www.dcm4che.org/maven2/

e.g.: http://www.dcm4che.org/maven2/org/dcm4che/dcm4che-core/3.3.7/

Hermann

Ben Ganley

unread,
Apr 13, 2016, 4:09:54 PM4/13/16
to dcm4che
Thank you very much!

I have added the following to my POM for anyone who may be having the same issues.

  <repositories>
    <repository>
      <id>org.dcm4chee</id>
      <name>DCM4CHE</name>
      <url>http://www.dcm4che.org/maven2/</url>
    </repository>
  </repositories>

then for each of your dependencies 

   <dependency>
      <groupId>org.dcm4che.tool</groupId>
      <artifactId>dcm4che-tool-movescu</artifactId>

Ben Ganley

unread,
Apr 13, 2016, 4:50:35 PM4/13/16
to dcm4che
I am running into another problem regarding the dependencies of the dcm4che libs at build time.

My POM

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
<modelVersion>4.0.0</modelVersion>


 
<groupId>com.srgmri.apps</groupId>
 
<artifactId>hospital</artifactId>

 
<version>1.0</version>



 
<name>hospital</name>
 
<url>http://maven.apache.org</url>


 
<properties>
   
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

   
<maven.compiler.source>1.7</maven.compiler.source>
   
<maven.compiler.target>1.7</maven.compiler.target>
 
</properties>



 
<repositories>
   
<repository>
     
<id>org.dcm4chee</id>
     
<name>DCM4CHE</name>
     
<url>http://www.dcm4che.org/maven2/</url>
   
</repository>
 
</repositories>





 
<dependencies>
   
<dependency>
     
<groupId>org.dcm4che</groupId>
     
<artifactId>dcm4che-core</artifactId>

     
<version>3.3.7</version>
   
</dependency>
   
<dependency>
     
<groupId>org.dcm4che.tool</groupId>
     
<artifactId>dcm4che-tool-movescu</artifactId>
     
<version>3.3.7</version>
   
</dependency>
   
<dependency>

     
<groupId>org.eclipse.jetty</groupId>
     
<artifactId>jetty-servlet</artifactId>
     
<version>9.3.9.M0</version>
   
</dependency>
   
<dependency>
     
<groupId>org.eclipse.jetty</groupId>
     
<artifactId>jetty-server</artifactId>
     
<version>9.3.9.M0</version>
   
</dependency>
   
<dependency>
     
<groupId>mysql</groupId>
     
<artifactId>mysql-connector-java</artifactId>
     
<version>5.1.38</version>
   
</dependency>
   
<dependency>
     
<groupId>junit</groupId>
     
<artifactId>junit</artifactId>
     
<version>3.8.1</version>
     
<scope>test</scope>
   
</dependency>
 
</dependencies>
</project>

I am now getting a rather long list of errors at compile time relating to the compiler not being able to find classes for dcm4che.. (sorry this is rather long)

[INFO] Scanning for projects...

 

[INFO]                                                                          

[INFO] ------------------------------------------------------------------------

[INFO] Building hospital 1.0

[INFO] ------------------------------------------------------------------------

[INFO]  

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hospital ---

[INFO] Deleting /Users/Ben/Documents/Work/SRG/Hospital/hospital/target

[INFO]  

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hospital ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/resources

[INFO]  

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hospital ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 514 source files to /Users/Ben/Documents/Work/SRG/Hospital/hospital/target/classes

[INFO] -------------------------------------------------------------

[WARNING] COMPILATION WARNING :  

[INFO] -------------------------------------------------------------

[WARNING] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/main/java/org/dcm4che3/net/Device.java: Some input files use or override a deprecated API.

[WARNING] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/main/java/org/dcm4che3/net/Device.java: Recompile with -Xlint:deprecation for details.

[WARNING] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/main/java/org/dcm4che3/net/Connection.java: Some input files use unchecked or unsafe operations.

[WARNING] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/main/java/org/dcm4che3/net/Connection.java: Recompile with -Xlint:unchecked for details.

[INFO] 4 warnings  

[INFO] -------------------------------------------------------------

[INFO] -------------------------------------------------------------

[ERROR] COMPILATION ERROR :  

[INFO] -------------------------------------------------------------

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[48,8] duplicate class: org.dcm4che3.data.ValueSelectorTest

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-servlet/src/main/java/org/dcm4che3/sample/servlet/EchoSCPMBean.java:[41,19] package javax.ws.rs does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-servlet/src/main/java/org/dcm4che3/sample/servlet/EchoSCPMBean.java:[42,19] package javax.ws.rs does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-servlet/src/main/java/org/dcm4che3/sample/servlet/EchoSCPMBean.java:[48,2] cannot find symbol

  symbol
: class Path

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[42,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[44,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[44,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[45,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[45,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/io/DicomInputStreamTest.java:[3,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/io/DicomInputStreamTest.java:[12,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[41,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[41,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[42,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[42,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[43,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[43,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[54,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[55,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[41,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[42,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[43,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[44,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[45,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[46,29] package org.apache.camel.impl does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[56,36] cannot find symbol

  symbol
: class DefaultEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[46,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[47,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[48,29] package org.apache.camel.impl does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[49,29] package org.apache.camel.util does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[57,43] cannot find symbol

  symbol
: class DefaultComponent

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[83,12] cannot find symbol

  symbol
:   class Producer

  location
: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[89,36] cannot find symbol

  symbol
:   class Processor

  location
: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[89,12] cannot find symbol

  symbol
:   class Consumer

  location
: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[99,12] cannot find symbol

  symbol
:   class Exchange

  location
: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[67,33] cannot find symbol

  symbol
:   class CamelContext

  location
: class org.dcm4che3.camel.DicomDeviceComponent

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[43,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[44,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[45,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[46,29] package org.apache.camel.impl does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[47,29] package org.apache.camel.util does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[62,36] cannot find symbol

  symbol
: class DefaultConsumer

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[93,15] cannot find symbol

  symbol
:   class Endpoint

  location
: class org.dcm4che3.camel.DicomDeviceComponent

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[64,50] cannot find symbol

  symbol
:   class Processor

  location
: class org.dcm4che3.camel.DicomConsumer

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-dicom/src/test/java/org/dcm4che3/conf/dicom/SearchTest.java:[44,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-dicom/src/test/java/org/dcm4che3/conf/dicom/SearchTest.java:[45,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[57,18] package javax.json does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[58,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[59,24] package javax.ws.rs.core does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[458,43] cannot find symbol

  symbol
:   class MediaType

  location
: class org.dcm4che3.tool.stowrs.StowRS

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[469,41] cannot find symbol

  symbol
:   class MediaType

  location
: class org.dcm4che3.tool.stowrs.StowRS

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[479,17] cannot find symbol

  symbol
:   class MediaType

  location
: class org.dcm4che3.tool.stowrs.StowRS

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[41,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[42,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[43,32] package org.apache.camel.builder does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[44,29] package org.apache.camel.main does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[60,33] cannot find symbol

  symbol
: class Processor

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[79,25] cannot find symbol

  symbol
:   class Exchange

  location
: class org.dcm4che3.camel.test.EchoSCP

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-soundex/src/test/java/org/dcm4che3/soundex/KPhoneticTest.java:[24,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-soundex/src/test/java/org/dcm4che3/soundex/KPhoneticTest.java:[24,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-soundex/src/test/java/org/dcm4che3/soundex/KPhoneticTest.java:[27,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[41,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[41,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[47,18] package javax.json does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[48,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[56,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-core/src/main/java/org/dcm4che3/conf/core/adapters/ExtensionTypeAdaptor.java:[43,36] package org.apache.commons.beanutils does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/test/java/org/dcm4che3/net/DeviceTest.java:[40,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/test/java/org/dcm4che3/net/DeviceTest.java:[47,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[41,32] package javax.enterprise.context does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[42,31] package javax.enterprise.inject does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[51,2] cannot find symbol

  symbol
: class ApplicationScoped

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[52,2] cannot find symbol

  symbol
: class Typed

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-qidors/src/main/java/org/dcm4che3/tool/qidors/QidoRS.java:[56,18] package javax.json does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[46,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[47,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[48,36] package javax.json.stream.JsonParser does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[49,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[73,19] cannot find symbol

  symbol
:   class JsonParser

  location
: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[76,13] cannot find symbol

  symbol
:   class JsonLocation

  location
: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[77,13] cannot find symbol

  symbol
:   class Event

  location
: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[84,23] cannot find symbol

  symbol
:   class JsonParser

  location
: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[100,13] cannot find symbol

  symbol
:   class Event

  location
: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[41,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[41,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[42,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[42,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[43,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[43,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[44,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[44,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[45,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[45,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[46,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[46,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[53,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-core/src/test/java/org/dcm4che3/conf/core/XTest.java:[4,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-core/src/test/java/org/dcm4che3/conf/core/XTest.java:[5,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/media/DicomDirReaderTest.java:[3,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/media/DicomDirReaderTest.java:[9,17] package org.junit does not exist

[INFO] 100 errors  

[INFO] -------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 3.189 s

[INFO] Finished at: 2016-04-14T08:44:52+12:00

[INFO] Final Memory: 18M/429M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hospital: Compilation failure: Compilation failure:

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[48,8] duplicate class: org.dcm4che3.data.ValueSelectorTest

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-servlet/src/main/java/org/dcm4che3/sample/servlet/EchoSCPMBean.java:[41,19] package javax.ws.rs does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-servlet/src/main/java/org/dcm4che3/sample/servlet/EchoSCPMBean.java:[42,19] package javax.ws.rs does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-servlet/src/main/java/org/dcm4che3/sample/servlet/EchoSCPMBean.java:[48,2] cannot find symbol

[ERROR] symbol: class Path

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[42,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[44,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[44,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[45,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-dict-private/src/test/java/org/dcm4che3/data/ValueSelectorTest.java:[45,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/io/DicomInputStreamTest.java:[3,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/io/DicomInputStreamTest.java:[12,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[41,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[41,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[42,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[42,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[43,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[43,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[54,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-filecache/src/test/java/org/dcm4che3/filecache/FileCacheTest.java:[55,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[41,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[42,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[43,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[44,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[45,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[46,29] package org.apache.camel.impl does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[56,36] cannot find symbol

[ERROR] symbol: class DefaultEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[46,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[47,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[48,29] package org.apache.camel.impl does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[49,29] package org.apache.camel.util does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[57,43] cannot find symbol

[ERROR] symbol: class DefaultComponent

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[83,12] cannot find symbol

[ERROR] symbol:   class Producer

[ERROR] location: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[89,36] cannot find symbol

[ERROR] symbol:   class Processor

[ERROR] location: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[89,12] cannot find symbol

[ERROR] symbol:   class Consumer

[ERROR] location: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomEndpoint.java:[99,12] cannot find symbol

[ERROR] symbol:   class Exchange

[ERROR] location: class org.dcm4che3.camel.DicomEndpoint

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[67,33] cannot find symbol

[ERROR] symbol:   class CamelContext

[ERROR] location: class org.dcm4che3.camel.DicomDeviceComponent

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[43,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[44,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[45,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[46,29] package org.apache.camel.impl does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[47,29] package org.apache.camel.util does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[62,36] cannot find symbol

[ERROR] symbol: class DefaultConsumer

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomDeviceComponent.java:[93,15] cannot find symbol

[ERROR] symbol:   class Endpoint

[ERROR] location: class org.dcm4che3.camel.DicomDeviceComponent

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/main/java/org/dcm4che3/camel/DicomConsumer.java:[64,50] cannot find symbol

[ERROR] symbol:   class Processor

[ERROR] location: class org.dcm4che3.camel.DicomConsumer

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-dicom/src/test/java/org/dcm4che3/conf/dicom/SearchTest.java:[44,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-dicom/src/test/java/org/dcm4che3/conf/dicom/SearchTest.java:[45,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[57,18] package javax.json does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[58,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[59,24] package javax.ws.rs.core does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[458,43] cannot find symbol

[ERROR] symbol:   class MediaType

[ERROR] location: class org.dcm4che3.tool.stowrs.StowRS

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[469,41] cannot find symbol

[ERROR] symbol:   class MediaType

[ERROR] location: class org.dcm4che3.tool.stowrs.StowRS

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-stowrs/src/main/java/org/dcm4che3/tool/stowrs/StowRS.java:[479,17] cannot find symbol

[ERROR] symbol:   class MediaType

[ERROR] location: class org.dcm4che3.tool.stowrs.StowRS

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[41,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[42,24] package org.apache.camel does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[43,32] package org.apache.camel.builder does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[44,29] package org.apache.camel.main does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[60,33] cannot find symbol

[ERROR] symbol: class Processor

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-camel/src/test/java/org/dcm4che3/camel/test/EchoSCP.java:[79,25] cannot find symbol

[ERROR] symbol:   class Exchange

[ERROR] location: class org.dcm4che3.camel.test.EchoSCP

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-soundex/src/test/java/org/dcm4che3/soundex/KPhoneticTest.java:[24,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-soundex/src/test/java/org/dcm4che3/soundex/KPhoneticTest.java:[24,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-soundex/src/test/java/org/dcm4che3/soundex/KPhoneticTest.java:[27,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[41,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[41,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[47,18] package javax.json does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[48,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/test/java/org/dcm4che3/json/JSONTest.java:[56,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-core/src/main/java/org/dcm4che3/conf/core/adapters/ExtensionTypeAdaptor.java:[43,36] package org.apache.commons.beanutils does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/test/java/org/dcm4che3/net/DeviceTest.java:[40,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-net/src/test/java/org/dcm4che3/net/DeviceTest.java:[47,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[41,32] package javax.enterprise.context does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[42,31] package javax.enterprise.inject does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[51,2] cannot find symbol

[ERROR] symbol: class ApplicationScoped

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-cdi/dcm4che-cdi-echo/src/main/java/org/dcm4che3/sample/cdi/echo/impl/CEchoSCPImpl.java:[52,2] cannot find symbol

[ERROR] symbol: class Typed

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-tool/dcm4che-tool-qidors/src/main/java/org/dcm4che3/tool/qidors/QidoRS.java:[56,18] package javax.json does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[46,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[47,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[48,36] package javax.json.stream.JsonParser does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[49,25] package javax.json.stream does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[73,19] cannot find symbol

[ERROR] symbol:   class JsonParser

[ERROR] location: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[76,13] cannot find symbol

[ERROR] symbol:   class JsonLocation

[ERROR] location: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[77,13] cannot find symbol

[ERROR] symbol:   class Event

[ERROR] location: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[84,23] cannot find symbol

[ERROR] symbol:   class JsonParser

[ERROR] location: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-json/src/main/java/org/dcm4che3/json/JSONReader.java:[100,13] cannot find symbol

[ERROR] symbol:   class Event

[ERROR] location: class org.dcm4che3.json.JSONReader

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[41,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[41,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[42,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[42,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[43,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[43,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[44,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[44,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[45,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[45,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[46,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[46,1] static import only from classes and interfaces

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/data/AttributesTest.java:[53,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-core/src/test/java/org/dcm4che3/conf/core/XTest.java:[4,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-conf/dcm4che-conf-core/src/test/java/org/dcm4che3/conf/core/XTest.java:[5,17] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/media/DicomDirReaderTest.java:[3,24] package org.junit does not exist

[ERROR] /Users/Ben/Documents/Work/SRG/Hospital/hospital/src/main/java/dcm4che-master/dcm4che-core/src/test/java/org/dcm4che3/media/DicomDirReaderTest.java:[9,17] package org.junit does not exist

[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


I am really sorry to be such a novie, but I'd love to be able to use this code

Reply all
Reply to author
Forward
0 new messages