<div dir="ltr">Hi Johannes,<br><br>sorry for the confusion. I was actually running my other project where the pom.xml file was not properly set up...<br>I can now run theĀ <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">add-two-</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">datasets example project, thank you!</span><div>
<font color="#500050" face="arial, sans-serif"><br></font></div><div><font color="#500050" face="arial, sans-serif">I should now try to see if its possible to use ImageJ2 and Repast Simpohony - agent based modeling framework together.</font></div>
<div><font color="#500050" face="arial, sans-serif">Is there maybe a way not to use Maven, but reference all the ImageJ .jars and this way use them in my agent based modeling framework project (without converting my project to Maven project)?</font></div>
<div><font color="#500050" face="arial, sans-serif"><br></font></div><div><font color="#500050" face="arial, sans-serif">Thank you again!<br><br>Greetings,</font></div><div><font color="#500050" face="arial, sans-serif">Vera<br>
</font><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 10:00 AM, Johannes Schindelin <span dir="ltr"><<a href="mailto:Johannes.Schindelin@gmx.de" target="_blank">Johannes.Schindelin@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vera,<br>
<div class=""><br>
On Thu, 7 Aug 2014, Vera Andrejchenko wrote:<br>
<br>
> Now I just tried using one of the tutorial examples:<br>
> image-tutorials/add-two-datasets<br>
><br>
> So I created a new maven project, added the pom file from this link:<br>
> <a href="https://github.com/imagej/imagej-tutorials/blob/master/add-two-datasets/pom.xml" target="_blank">https://github.com/imagej/imagej-tutorials/blob/master/add-two-datasets/pom.xml</a><br>
> and the java file from:<br>
> <a href="https://github.com/imagej/imagej-tutorials/blob/master/intro-to-imagej-api/src/main/java/IntroToImageJAPI.java" target="_blank">https://github.com/imagej/imagej-tutorials/blob/master/intro-to-imagej-api/src/main/java/IntroToImageJAPI.java</a><br>

><br>
> and tried to run the application, but I got the following error:<br>
> java.lang.NoClassDefFoundError: net/imagej/updater/UploaderService<br>
<br>
</div>Why not just clone the imagej-tutorials project and import the existing<br>
add-two-datasets Maven project via File>Import>Maven>Import Existing Maven<br>
Project...?<br>
<br>
Alternatively, feel free to make your project available on GitHub so I can<br>
have a look and possibly point out what needs to be fixed.<br>
<br>
Ciao,<br>
Johannes<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>----------------------------------------------------------------------------------------------------------------<br>----------------------------------------------------------------------------------------------------------------<br>
Artificial Intelligence Program at KULeuven, Belgium<br>grad.ing at The Faculty of Electrical Engineering and Information Technologies<br>in Skopje,Macedonia<br>tel: +32 483 439 906<br>skype:vercence_zvercence<br>----------------------------------------------------------------------------------------------------------------<br>
----------------------------------------------------------------------------------------------------------------
</div>