【问题标题】:EXT JS - all-classes.js is throwing error-Uncaught TypeError: Cannot read property 'prototype' of undefinedEXT JS - all-classes.js 抛出错误 - 未捕获类型错误:无法读取未定义的属性“原型”
【发布时间】:2013-07-17 01:55:44
【问题描述】:

我正在使用以下命令构建 all-classes.js

sencha compile -classpath=ext/src,app page -in index.jsp -o build/index.jsp. 

之后我得到了 all-classes.js 文件。

但是在运行包含 all-classes.js 的应用程序时,它会抛出一个JS error,如下所示。

Uncaught TypeError: Cannot read property 'prototype' of undefined

【问题讨论】:

    标签: jsp extjs4.1 uncaught-exception


    【解决方案1】:

    我们无法知道是什么导致了错误,可能有很多错误。它可能是一个缺失的类,它可能是错误的包含顺序,它可能是一个语法错误......

    您需要退后一步,逐步组装您的应用程序,直到您知道是哪个特定文件导致了问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-11
      • 1970-01-01
      • 2017-02-11
      相关资源
      最近更新 更多