コンパイラ
Compile with -strict
以下のようなエラーが発生することがある。
Compiling module ....
Validating newly compiled units
Ignored 2 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.ここで言っている-strictは、Run ConfigurationのArgumentsタブのProgram Argumentsに入力する。 logLevelは専用のコンボがあるが、TRACEにするとメッセージが多すぎて何が問題なのかわからない。
-strictを指定すると、例えば
Compiling module ....
Validating newly compiled units
[ERROR] Errors in '.....java'
[ERROR] Line 16: No source code is available for type java.awt.Color; did you forget to inherit a required module?
[ERROR] Line 19: The method format(String, int, int, int) is undefined for the type String
[ERROR] Errors in '.....java'
[ERROR] Line 17: No source code is available for type java.awt.Color; did you forget to inherit a required module?
[ERROR] Aborting compile due to errors in some input filesというエラーとなっていることがわかる。
