2017-03-22 142 views
0

在一个项目上工作约一周后,它突然停止导出。每次我尝试导出我的项目时,我都会收到错误消息。我的班级没有什么是错的。类路径上的类文件未找到或不可访问

 JAR creation failed. See details for additional information. 
    Class files on classpath not found or not accessible for: 
    'TroubleInTT/src/me/infernoartz/timv/Main.java' 
    Class files on classpath not found or not accessible for: 
    'TroubleInTT/src/me/infernoartz/timv/GameState.java' 
    Class files on classpath not found or not accessible for: 
    'TroubleInTT/src/me/infernoartz/timv/commands/RoleCommand.java' 
    Class files on classpath not found or not accessible for: 
    'TroubleInTT/src/me/infernoartz/timv/commands/TimvCommand.java' 
    Class files on classpath not found or not accessible for: 
    'TroubleInTT/src/me/infernoartz/timv/events/PlayerInteractEvent.java' 

    And so it continues down.. 
+0

你能告诉我们你的类路径吗?应该在eclipse中的.classpath'文件中 – xander

+0

哪里很重要? – InfernoArtz

+0

对不起,我很忙。该文件应该直接在你的项目根文件夹中,或者在eclipse中按下CTRL + SHIFT + R并输入'.classpath'。或者,右键单击一个eclipse项目并选择Properties,选择左侧的Java Build Path链接。然后选择Source选项卡。您将看到所有java源文件夹的列表。 – xander

回答

1

是!因为@xander发布了我的一个朋友,他已经将一个.jar文件导入到项目中。我只是不得不从.classpath中删除它,谢谢!

相关问题