Announcement

Collapse
No announcement yet.

Creating JAR from Maven Project

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating JAR from Maven Project

    Hey guys,

    I'm using the Azure SDK, which I import into my Java project with maven. Then, I create an executale JAR for the project (with all included dependencies) in Eclipse. However I'm unable to access the class or methods within the Jar. I get the following error:

    TypeError: [JavaPackage com.packName.className] is not a function, it is object

    My package name is : com.packName
    My class name is: className

    I was using this guide as an example: http://www.mirthcorp.com/community/w...+Mirth+Connect

    It states that I can create a JAR within eclipse. So my question is, how can I follow the directory structure given in the example in link above but still install all maven dependencies, or how can I package an Eclipse project into a JAR (with all included dependencies) and access it within Mirth?
Working...
X