Install job by package - namespace issues: Class not found

Permalink
Hey everyone,

trying to update a package for 5.7, but I can't install a job via package controller.

Error message:
Class 'Concrete\Job\Job' not found


Code before package controller:
namespace Concrete\Package\Flimmerkiste;
use Package;
use BlockType;
use SinglePage;
use Loader;
use Job;
use JobSet;
use CollectionAttributeKey;
use Concrete\Core\Attribute\Type as AttributeType; 
//http://www.concrete5.org/community/forums/5-7-discussion/use-class-...
use Concrete\Core\Attribute\Key\Category as AttributeKeyCategory;
//http://www.concrete5.org/community/forums/5-7-discussion/installing...
use Concrete\Core\Attribute\Set as AttributeSet;
class Controller extends \Concrete\Core\Package\Package {


In install()-method
Job::installByPackage("import_episodes", $pkg);

(is also used in contentimporter.php)

Thanks in advance for help!

programmieraffe