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 libraries of both problematics objects.
On Thu, Nov 26, 2015 at 3:54 PM, Jörg Schaible <[email protected]> wrote: > 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Adrien Rivard
