Fix scala dependency 302 error
Merge pull request #978 from simon816/patch-1

Fix scala dependency 302 error