Maven refactored. Runtime error still exists.