you need to upload you project jar (with the classes that you reference in the process) into guvnor using Upload POJO model functionality. Please take a look a guvnor documentation for details.
When it comes to runtime you need to add the same jar into jbpm-console classpath too so the runtime engine can make use of it.
HTH