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
.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
: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
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
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
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.
>
> ---
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
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
---
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
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
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
: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
12 matches
Mail list logo