RE: Compilation Error -Incompatible Types

2015-12-01 Thread David Evans
ll not apply! Good luck either way. Regards D.E> -Original Message- From: pradeepkumar [mailto:pradeepkumar...@gmail.com] Sent: 01 December 2015 15:27 To: users@maven.apache.org Subject: RE: Compilation Error -Incompatible Types Hi David , This is the original post . I am

Re: Compilation Error -Incompatible Types

2015-12-01 Thread Adrien Rivard
.ABC.XXX.bo.BusinessObject > found:com.ABC.bo.BusinessObject > [INFO] 1 error > [INFO] > > Please help me out regarding this issue. > > > > -- > View this message in context: > http://maven.40175.n5.n

RE: Compilation Error -Incompatible Types

2015-12-01 Thread pradeepkumar
:com.ABC.bo.BusinessObject [INFO] 1 error [INFO] Please help me out regarding this issue. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5853516.html Sent from

RE: Compilation Error -Incompatible Types

2015-11-26 Thread David Evans
Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: 26 November 2015 20:28 To: Maven Users List Subject: Re: Compilation Error -Incompatible Types Hi Adrien, > most of the time differences between eclipse and command line > compilation

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Curtis Rueden
Hi Adrien, > most of the time differences between eclipse and command line > compilation are due to scopes problems. I agree that Eclipse's handling of scopes is a common reason for code which works in Eclipse, but actually fails on the CLI. However, there are also significant differences in the

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Brice Vandeputte
cast typing issues. > > > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5852878.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > ---

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Adrien Rivard
I'm not sure this is the case here, but most of the time differences between eclipse and command line compilation are due to scopes problems. Eclipse is merging various scopes (test/compile ..) when compiling while command line is enforcing strict separation. Have a look at the scopes of the librar

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Jörg Schaible
pradeepkumar wrote: > I have tried compile form console , even i am facing the same error from > command prompt. That simply means your code is not Java compliant. It does not matter that the Eclipse compiler has no problem. Cheers, Jörg ---

Re: Compilation Error -Incompatible Types

2015-11-26 Thread pradeepkumar
I have tried compile form console , even i am facing the same error from command prompt. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5853003.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Compilation Error -Incompatible Types

2015-11-25 Thread Jörg Schaible
pradeepkumar wrote: > Is there any was to resolve this issue from maven side by adding any flag > to avoid cast typing issues. Just because Eclipse can compile it, does not mean that javac of Oracle JDK can also. You better try to compile from console using the real compiler to see what's wrong

Re: Compilation Error -Incompatible Types

2015-11-25 Thread pradeepkumar
Is there any was to resolve this issue from maven side by adding any flag to avoid cast typing issues. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5852878.html Sent from the Maven - Users mailing list archive at Nabble.com

Compilation Error -Incompatible Types

2015-11-25 Thread pradeepkumar
:com.ABC.bo.BusinessObject [INFO] 1 error [INFO] Please help me out regarding this issue. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871.html Sent from the Maven - Users