[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mifos-developer
Subject:    Re: [Mifos-developer] Getting error while trying mvn clean install
From:       Michael Vorburger <mike () vorburger ! ch>
Date:       2013-05-31 22:31:54
Message-ID: CALiX4ibMwERZnHAcd7XU_t9yf73nZQ2V=XqJyxBdDt1kC0B0WQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Mohan,

thanks for posting comprehensive logs. All that you need to look at in such
a case is what red Java errors there are on projects in the workspace, and
post those. The Warnings and JSP usually aren't of much interest. The
Mifos.log, in this case, also isn't - as long as the src doesn't compile,
obviously it has some issues when it starts up - makes sense? Just trying
to help you learn something - while offering the solution as well of course:

The key to your issue is most probably this in your java problems.txt:

Incompatible conditional operand types Exception and
RESTCallInterruptException	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line
 59	Java Problem
RESTCallInterruptException cannot be resolved to a
type	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line
 59	Java Problem
RESTCallInterruptException cannot be resolved to a
type	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line
 63	Java Problem
RESTCallInterruptException cannot be resolved to a
type	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line
 63	Java Problem

Google that, and you'll hit
http://comments.gmane.org/gmane.comp.finance.mifos.devel/12489 ... read and
then try that - problem gone? ;-) FTR: Udai had some fun with AspectJ (see
http://www.eclipse.org/aspectj/ if interested) there... ;-) Great stuff, of
course, but made the workspace a little harder.

Hope this helps?

Regards,
Michael


_______________________
Michael Vorburger
http://www.vorburger.ch


On Thu, May 30, 2013 at 3:18 PM, mohan krish <mohankrish420@gmail.com>wrote:

> hi
> 
> I followed the above setup used this cmd "mvn -X -Dmaven.test.skip=true
> clean install"
> to maven clean install then it was successfully installed
> 
> Reactor Summary:
> 
> Mifos - Parent .................................... SUCCESS [12.203s]
> Mifos - Common .................................... SUCCESS [41.609s]
> Mifos - DB Management ............................. SUCCESS [5.907s]
> Mifos - Domain Data Transfer Objects .............. SUCCESS [3.265s]
> Mifos - Test Framework ............................ SUCCESS [15.188s]
> Mifos - Service Interfaces ........................ SUCCESS [21.906s]
> Mifos - User Interface ............................ SUCCESS [37.516s]
> Mifos - Accounting Integration .................... SUCCESS [7.000s]
> Mifos - Questionnaire ............................. SUCCESS [21.875s]
> Mifos - Cashflow .................................. SUCCESS [20.672s]
> Mifos - Abstract Domain ........................... SUCCESS [3.546s]
> Mifos - Organization .............................. SUCCESS [4.579s]
> Mifos - Application Domain ........................ SUCCESS [53.468s]
> Mifos - Reporting Libs (BIRT JARs) ................ SUCCESS [0.735s]
> Mifos - Reporting ................................. SUCCESS [1:06.265s]
> Mifos - REST API .................................. SUCCESS [23.375s]
> Mifos - Application ............................... SUCCESS [4:50.969s]
> Mifos - Base Server (Jetty) ....................... SUCCESS [3.453s]
> Mifos - Workspace Server .......................... SUCCESS [7.235s]
> Mifos - WAR ....................................... SUCCESS [8:18.109s]
> Mifos - Test of packaged WAR ...................... SUCCESS [1:01.094s]
> Mifos - Test of packaged Executable WAR ........... SUCCESS [1:05.562s]
> Mifos - Acceptance Tests .......................... SUCCESS [2:36.813s]
> Mifos - Android Client Tests ...................... SUCCESS [3.125s]
> ------------------------------------------------------------------------
> BUILD SUCCESS
> ------------------------------------------------------------------------
> Total time: 23:47.562s
> Finished at: Thu May 30 17:45:15 IST 2013
> Final Memory: 48M/181M
> ------------------------------------------------------------------------
> 
> 
> Then i imported as a maven project
> File → Import... → Maven, Existing Maven Projects
> and followed the below link
> 
> https://mifosforge.jira.com/wiki/display/MIFOS/Workspace+2.0
> 
> but am getting error symbol in two projects
> mifos-reporting
> mifos-webapp
> 
> and getting following errors while try to launch debug as
> Mifos START 8080.launch
> 
> 
> i have attached the errors and mifos.log files
> kindly help as to fix it.
> 
> regards,
> mohan.
> 
> 
> 
> 
> 
> On 29 May 2013 17:15, mohan krish <mohankrish420@gmail.com> wrote:
> 
> > Need help getting started with Mifos development for
> > *
> > Mifos 2.x *
> > 
> > thanks, ill try with above setup and let your know
> > 
> > regards,
> > mohan
> > 
> 
> 
> 
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
> 


[Attachment #5 (text/html)]

<div dir="ltr">Mohan,<div><br></div><div>thanks for posting comprehensive logs. All \
that you need to look at in such a case is what red Java errors there are on projects \
in the workspace, and post those. The Warnings and JSP usually aren&#39;t of much \
interest. The Mifos.log, in this case, also isn&#39;t - as long as the src \
doesn&#39;t compile, obviously it has some issues when it starts up - makes sense? \
Just trying to help you learn something - while offering the solution as well of \
course:</div>

<div><br></div><div>The key to your issue is most probably this in your  java \
problems.txt:</div><div><pre \
style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Incompatible \
conditional operand types Exception and \
RESTCallInterruptException	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line \
59	Java Problem RESTCallInterruptException cannot be resolved to a \
type	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line \
59	Java Problem RESTCallInterruptException cannot be resolved to a \
type	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line \
63	Java Problem RESTCallInterruptException cannot be resolved to a \
type	UncaughtExceptionHandler.java	/mifos-webapp/src/main/java/org/mifos/framework/servlet	line \
63	Java Problem </pre></div><div style>Google that, and you&#39;ll hit  <a \
href="http://comments.gmane.org/gmane.comp.finance.mifos.devel/12489">http://comments.gmane.org/gmane.comp.finance.mifos.devel/12489</a> \
... read and then try that - problem gone? ;-) FTR: Udai had some fun with AspectJ \
(see  <a href="http://www.eclipse.org/aspectj/">http://www.eclipse.org/aspectj/</a>  \
if interested) there... ;-) Great stuff, of course, but made the workspace a little \
harder.</div>

<div style><br></div><div style>Hope this helps?</div><div style><br></div><div \
style>Regards,</div><div style>Michael</div></div><div class="gmail_extra"><br \
clear="all"><div><br>_______________________<br>Michael Vorburger<br>

<a href="http://www.vorburger.ch">http://www.vorburger.ch</a></div>
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 3:18 PM, mohan krish <span \
dir="ltr">&lt;<a href="mailto:mohankrish420@gmail.com" \
target="_blank">mohankrish420@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

<div dir="ltr"><div>hi<br><br></div>I followed the above setup used this cmd \
&quot;mvn -X -Dmaven.test.skip=true clean install&quot; <br><div>to maven clean \
install then it was successfully installed <br><br>Reactor Summary:<br>


<br>Mifos - Parent .................................... SUCCESS [12.203s]<br>Mifos - \
Common .................................... SUCCESS [41.609s]<br>Mifos - DB \
Management ............................. SUCCESS [5.907s]<br>


Mifos - Domain Data Transfer Objects .............. SUCCESS [3.265s]<br>Mifos - Test \
Framework ............................ SUCCESS [15.188s]<br>Mifos - Service \
Interfaces ........................ SUCCESS [21.906s]<br>Mifos - User Interface \
............................ SUCCESS [37.516s]<br>


Mifos - Accounting Integration .................... SUCCESS [7.000s]<br>Mifos - \
Questionnaire ............................. SUCCESS [21.875s]<br>Mifos - Cashflow \
.................................. SUCCESS [20.672s]<br>Mifos - Abstract Domain \
........................... SUCCESS [3.546s]<br>


Mifos - Organization .............................. SUCCESS [4.579s]<br>Mifos - \
Application Domain ........................ SUCCESS [53.468s]<br>Mifos - Reporting \
Libs (BIRT JARs) ................ SUCCESS [0.735s]<br>Mifos - Reporting \
................................. SUCCESS [1:06.265s]<br>


Mifos - REST API .................................. SUCCESS [23.375s]<br>Mifos - \
Application ............................... SUCCESS [4:50.969s]<br>Mifos - Base \
Server (Jetty) ....................... SUCCESS [3.453s]<br>

Mifos - Workspace Server .......................... SUCCESS [7.235s]<br>
Mifos - WAR ....................................... SUCCESS [8:18.109s]<br>Mifos - \
Test of packaged WAR ...................... SUCCESS [1:01.094s]<br>Mifos - Test of \
packaged Executable WAR ........... SUCCESS [1:05.562s]<br>


Mifos - Acceptance Tests .......................... SUCCESS [2:36.813s]<br>Mifos - \
Android Client Tests ...................... SUCCESS \
[3.125s]<br>------------------------------------------------------------------------<br>



BUILD SUCCESS<br>------------------------------------------------------------------------<br>Total \
time: 23:47.562s<br>Finished at: Thu May 30 17:45:15 IST 2013<br>Final Memory: \
48M/181M<br>------------------------------------------------------------------------<br>



<br><br></div><div>Then i imported as a maven project<br>  File → Import... → \
Maven, Existing Maven Projects<br></div><div>and followed the below link<br><br><a \
href="https://mifosforge.jira.com/wiki/display/MIFOS/Workspace+2.0" \
target="_blank">https://mifosforge.jira.com/wiki/display/MIFOS/Workspace+2.0</a><br>


<br></div><div>but am getting error symbol in two projects \
<br></div><div>mifos-reporting <br></div><div>mifos-webapp \
<br></div><div><br></div><div>and getting following errors while try to launch debug \
as <br>Mifos START 8080.launch <br>


<br><br></div><div>i have attached the errors and mifos.log \
files<br></div><div>kindly help as to fix \
it.<br><br></div><div>regards,<br></div><div>mohan.<br></div><div><br><br><br></div></div><div \
class="HOEnZb"><div class="h5">

<div class="gmail_extra"><br>
<br><div class="gmail_quote">On 29 May 2013 17:15, mohan krish <span dir="ltr">&lt;<a \
href="mailto:mohankrish420@gmail.com" \
target="_blank">mohankrish420@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


<div dir="ltr"><div><div>Need help getting started with Mifos development for \
<br><b><br>Mifos 2.x  </b> <br><br></div>thanks, ill try with above setup and let \
your know<br><br></div>regards,<br>mohan   <br></div> </blockquote></div><br></div>
</div></div><br>------------------------------------------------------------------------------<br>
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET<br>
Get 100% visibility into your production application - at no cost.<br>
Code-level diagnostics for performance bottlenecks with &lt;2% overhead<br>
Download for free and get started troubleshooting in minutes.<br>
<a href="http://p.sf.net/sfu/appdyn_d2d_ap1" \
target="_blank">http://p.sf.net/sfu/appdyn_d2d_ap1</a><br>Mifos-developer mailing \
list<br> <a href="mailto:mifos-developer@lists.sourceforge.net">mifos-developer@lists.sourceforge.net</a><br>
 Unsubscribe or change settings at:<br>
<a href="https://lists.sourceforge.net/lists/listinfo/mifos-developer" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/mifos-developer</a><br></blockquote></div><br></div>




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2

Mifos-developer mailing list
mifos-developer@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic