Fixing issues with create/edit and maven dependency