答复: javac task encountered a compiling error at the 'import' statement

2011-03-21 Thread
Hi, I've found the reason: JAVA rejects import statements that import a type from the unnamed namespace since v1.4. See also: http://java.sun.com/javase/compatibility_j2se1.4.html#incompatibilities1.4 -邮件原件- 发件人: 汪燕青 [mailto:wangyanq...@gameabc.com] 发送时间: 2011年3月22日 10:48 收件人

答复: javac task encountered a compiling error at the 'import' statement

2011-03-21 Thread
fix. But I when using Eclipse, setting the project's java compiler's 'Compiler compliance level' to 1.3, it was ok. -邮件原件- 发件人: 汪燕青 [mailto:wangyanq...@gameabc.com] 发送时间: 2011年3月22日 10:20 收件人: Ant Users List 主题: 答复: javac task encountered a compiling error at the