Fix the example

The old example cannot run in the newest maven.