Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法解析ExtJS 6.0上的依赖项Ext.grid.Panel_Extjs_Sencha Touch_Extjs6 - Fatal编程技术网

无法解析ExtJS 6.0上的依赖项Ext.grid.Panel

无法解析ExtJS 6.0上的依赖项Ext.grid.Panel,extjs,sencha-touch,extjs6,Extjs,Sencha Touch,Extjs6,我在尝试扩展Sencha官方文档示例中显示的“Ext.grid.Panel”时出现以下错误。我使用了经典的、现代的、通用的框架,但它仍然不起作用 Failed to resolve dependency Ext.grid.Panel for file Xmlgrid.view.main.Main [ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for

我在尝试扩展Sencha官方文档示例中显示的“Ext.grid.Panel”时出现以下错误。我使用了经典的、现代的、通用的框架,但它仍然不起作用

Failed to resolve dependency Ext.grid.Panel for file Xmlgrid.view.main.Main
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.grid.Panel
    [ERR]   at o
    [ERR] rg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR] 
    [ERR] Total time: 65 minutes 56 seconds
    [ERR] Error during rebuild : The following error occurred while executing this line:
    C:\Users\nandeesh\workspace\Xmlgrid\.sencha\app\watch-impl.xml:4: The following error occurred while executing this line:
    C:\Users\nandeesh\workspace\Xmlgrid\.sencha\app\build-impl.xml:380: The following error occurred while executing this line:
    C:\Users\nandeesh\workspace\Xmlgrid\.sencha\app\init-impl.xml:403: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.grid.Panel
    [INF] Refresh complete in 0 sec. at 10:59:30 AM

我还必须使用6.5.0 Sencha Cmd版本和6.2.0 Ext JS版本修复此错误。
对于@random aspirer,我的回答肯定有点晚了,但对于那些在这里搜索的人来说,答案就在这里。
问题来自于app.json中定义的工具包配置,所以:
-如果您有:

"toolkit" : "modern",
换成

"toolkit" : "classic",

解决方案参考:

我还必须使用6.5.0 Sencha Cmd版本和6.2.0 Ext JS版本修复此错误。
对于@random aspirer,我的回答肯定有点晚了,但对于那些在这里搜索的人来说,答案就在这里。
问题来自于app.json中定义的工具包配置,所以:
-如果您有:

"toolkit" : "modern",
换成

"toolkit" : "classic",

解决方案参考:

您需要网格类吗?@incutonez类ext.grid.Panel显示在api文档中,但为什么我不能在我的项目中扩展它。您不能将它们的示例作为事实的来源,因为它们很可能默认包含每个类。如果您使用Sencha Cmd进行构建,那么可能必须在块中包含类本身。你试过了吗?你需要网格类吗?@incutonez类ext.grid.Panel显示在api文档中,但是为什么我不能在我的项目中扩展它。你不能把他们的例子作为真理的来源,因为他们很可能默认包含每个类。如果您使用Sencha Cmd进行构建,那么可能必须在块中包含类本身。你试过了吗?编辑!谢谢你的建议。编辑!谢谢你的建议。