1

Ext JS 4.1.1.aベースのアプリケーションを64 ビット Linux OSでコンパイルしようとしています。これが私のアプリケーション階層です( MavenベースのJava Webアプリケーション):

+ src
     +main
         +webapp
             + extjs
             + app
             - app.js
             - index.jsp
             + resources
             + WEB-INF 

指示:

sencha compile -classpath=extjs/src,js page -yui -in index.jsp -out build/index.jsp

巨大なプロジェクトなので、エラーを生成するクラスを見つける方法を知りたいです。エラースタックトレースは次のとおりです。

[ERROR]     Circular extends reference :
Sample.deadlock.A ->
Sample.deadlock.B ->
Sample.deadlock.E ->
Sample.deadlock.C ->
Sample.deadlock.D ->
Sample.deadlock.A
[ERROR]     Error executing page compilation Circular extends reference for class Sample.deadlock.A
[ERROR]     com.sencha.exceptions.ExCircularReference: Circular extends reference for class Sample.deadlock.A
4

2 に答える 2

3

このガイドに従って同じ間違いを犯しました。

extjs/srcはextjsソースフォルダだと思いました。しかし、これは正しくありません。

実行する正しいコマンドは次のとおりです。

sencha -sdk ../ext-4.1.1a compile -classpath=js page -yui -in index.jsp -out build/index.jsp
于 2013-01-14T14:15:53.810 に答える
0

デッドロック検出を示す例です。そのため、クラスには「Sample」という接頭辞が付いています。プロジェクトから削除します。

于 2012-11-06T08:00:23.627 に答える