Composer 自动加载问题“不符合 psr-0 自动加载标准跳过”错误并且类不是自动加载的

问题描述

我知道之前有人问过这个问题,但该解决方案对我不起作用。 此外,它以前工作正常,突然它开始向我发出此错误

composer.json

"autoload": {
    "psr-0": {
      "FiveCRM": "includes","AdditionalFields": "includes","AccountList": "includes"
    }
  },

作曲家 dumpautoload -o

Generating optimized autoload files
Class FiveCRM\UserTeams\Picture\UserTeamPictureService located in ./includes/UserTeams/Picture/UserTeamPictureService.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeamMember located in ./includes/UserTeams/UserTeamMember.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeamMemberService located in ./includes/UserTeams/UserTeamMemberService.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeam located in ./includes/UserTeams/UserTeam.PHP does not comply with psr-0 autoloading standard. Skipping.
Class FiveCRM\UserTeams\UserTeamService located in ./includes/UserTeams/UserTeamService.PHP does not comply with psr-0 autoloading standard. Skipping.

PS:我的另一位同事在使用相同版本的作曲家和相同的代码库时没有遇到此问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...