fix scala config
install req-package if not installed