fixing java_service depedency