Please UseCodeTags. They preserve formatting and make configuration files and code easier to read. I added them to your post.
Your error "DigesterError:Element type action-mapping must be declared."" does not match the file you posted. Either you made a mistake in your post or the code you are trying to run differs from the code you are looking at.