Getting project to work after migration to maven