我的javac
Ant 任务产生如下所示的错误:
[javac] C:\dp\dev\trunk\MyProduct\MyUnitTest.java:109: error: cannot find symbol
[javac] private MyClass createFactoryMock() throws Exception {
[javac] ^
[javac] symbol: class MyClass
[javac] location: class MyUnitTest
我以详细模式ant -verbose test-compile
(MyClass
MyClass
[javac] Compiling 9 source files to C:\dp\dev\trunk\MyProduct\temp\test-build
[javac] Using modern compiler
[javac] Compilation arguments:
[javac] '-d'
[javac] 'C:\dp\dev\trunk\MyProduct\temp\test-build'
[javac] '-classpath'
[javac] '[...]C:\dp\dev\trunk\MyProduct\temp\build\MyProduct\MyClass.class[...]
还有什么(除了类路径问题)可能是错误的原因?