Can you get Stu's example repo working on your system? If so, can you figure out what might be different between your setup and that example?
Otherwise, you'll need to provide more detail about your code/build process etc.
Note: I had to add the following properties to the pom.xml file in Stu's repo in order to compile everything (since the default seemed to be Java 1.6 otherwise):
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>