[0] ClassNotFoundException in Loader.php line 389
Class does not exist: appcommonmodelIndex
$class = self::parseClass($module, $layer, $name, $appendSuffix);
}
if (class_exists($class)) {
$model = new $class();
} else {
$class = str_replace('\' . $module . '\', '\' . $common . '\', $class);
if (class_exists($class)) {
$model = new $class();
} else {
throw new ClassNotFoundException('class not exists:' . $class, $class);
}
}
self::$instance[$guid] = $model;
return $model;
}
/**
* 实例化(分层)控制器 格式:[模块名/]控制器名
* @param string $name 资源地址
Check if the file name is correct. . You will know if you type out the path and see if the file is there.
Pay attention to the capitalization issue
It should be a case issue