私は大きな grails プロジェクトに取り組んでおり、会社のさまざまな部分から大量のプラグインが提供されています。新しい PC (Mac One) に移動しましたが、今抱えている問題を解決できません。
プロジェクトでは、grails 2.0.0、groovy 1.8.6、および Java 1.6.0_32 を使用しています。次に、プロジェクト ディレクトリで (端末から) grails run-app を実行すると、次のエラーが表示されます。
| Compiling 11 source files.
| Error Compilation error: startup failed:
Invalid commandline usage for javac.
javac: invalid flag: -Xlint:-options
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
1 error
Java の変更、grails のアップグレード、カスタマイズされた -xlint 引数のプロジェクト ソースの検索など、頭に浮かんだことはすべて試しました。そのようなものは役に立ちませんでした...
誰でもこれを解決するためのヒントを与えることができますか?プロジェクトの他の人には機能しますが、PC のアップグレード後にこのプロジェクトを機能させることができません。