启动服务器时出现此错误: 我正在使用IntelliJ Idea,并将MySQL jar添加到src和项目模块中。
这是我的代码
if (
(strpos ($mail, '@') !== false) &&
(strpos ($mail, '@') == strrchr($mail, '@')) &&
(strripos($mail, ".") > strpos ($mail, '@'))
)
{return true;}
// explication:
//
// (strpos ($mail, '@') !== false) => '@' character is in the string
// (strpos ($mail, '@') == strrchr($mail, '@')) => '@' character is unique
// (strripos($mail, ".") > strpos ($mail, '@')) => last position of '.' character is
// greater than '@' character position
答案 0 :(得分:0)
似乎您缺少某些依赖项,请确保将它们作为非插件存在于plugins文件夹中,或确保其已加载在类路径中。