我正在尝试从命令提示符运行 java 项目。但是当我输入
javac BatchImport.java
然后我得到了错误。这是这些错误的屏幕截图
这是日志
D:\LS360BatchImportIntegration\src\main\java\com\softech\ls360\integration>dir
08/05/2013 05:47 AM <DIR> .
08/05/2013 05:47 AM <DIR> ..
08/01/2013 05:03 AM 11,707 AbstractBatchImport.java
08/05/2013 04:06 AM 1,591 BatchImport.java
08/05/2013 05:47 AM <DIR> email
08/05/2013 05:47 AM <DIR> file
08/05/2013 05:47 AM <DIR> ftp
08/05/2013 05:47 AM <DIR> sftp
08/05/2013 05:47 AM <DIR> util
08/05/2013 05:47 AM <DIR> vintners
08/05/2013 05:47 AM <DIR> webservice
2 File(s) 13,298 bytes
9 Dir(s) 122,904,571,904 bytes free
D:\LS360BatchImportIntegration\src\main\java\com\softech\ls360\integration>javac BatchImport.java
BatchImport.java:12: package com.softech.ls360.integration.util does not exist
import com.softech.ls360.integration.util.IntegrationUtil;
^
BatchImport.java:13: package com.softech.ls360.integration.util does not exist
import com.softech.ls360.integration.util.VU360IntegrationProperties;
^
BatchImport.java:14: package com.softech.ls360.integration.vintners does not exist
import com.softech.ls360.integration.vintners.Vintners;
^
BatchImport.java:46: cannot find symbol
symbol : class Vintners
location: class com.softech.ls360.integration.BatchImport
Vintners vintners = new Vintners(customerName, randomUUIDString);
^
BatchImport.java:46: cannot find symbol
symbol : class Vintners
location: class com.softech.ls360.integration.BatchImport
Vintners vintners = new Vintners(customerName, randomUUIDString);
^
5 errors
D:\LS360BatchImportIntegration\src\main\java\com\softech\ls360\integration>
我的主要课程也包括其他课程。其他类也包括其他类。如何编译包含多个类的项目?
谢谢