compile-core-classes:
[javac] Compiling 386 source files to F:\hadoop\common\trunk\build\classes
[javac] F:\hadoop\common\trunk\build\src\org\apache\hadoop\package-info.java:5: 未结束的字符串字面值
[javac] user="boliang-pcboliang
[javac] ^
[javac] F:\hadoop\common\trunk\build\src\org\apache\hadoop\package-info.java:6: 需要为 class、interface 或 enum
[javac] ", date="Sun Jun 27 09:16:51 2010", url="file:///cygdrive/f/hadoop/common/trunk",
[javac] ^
[javac] F:\hadoop\common\trunk\build\src\org\apache\hadoop\package-info.java:6: 需要为 class、interface 或 enum
[javac] ", date="Sun Jun 27 09:16:51 2010", url="file:///cygdrive/f/hadoop/common/trunk",
[javac] ^
[javac] 3 错误
解决办法:
打开build.XML,注释掉
部分,删除package-info.java文件,重新编译,一切ok。 这样就解决问题了。