Not was working fine on eclipse