Fix Eclipse lifecycle errors