web stats
Creating JAR from Maven Project - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 10-20-2016, 11:11 AM
OxiSG OxiSG is offline
What's HL7?
Join Date: Oct 2016
Posts: 1
OxiSG is on a distinguished road
Default 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?
Reply With Quote

external code, jar, java, mirth

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 12:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation