Looks like you are running Java 1.7?! Try to lower down the java version and run it once again.
Regarding types that cannot be resolved make sure you have all libraries that come with jBPM distrubution are available on your classpath. For instance, you can create user library in eclipse for all of them and link it to your project.
HTH