airavata-courses / TeamZenith

Team Zenith Repository for Spring 2016 I590 Class
2 stars 4 forks source link

File not found error #10

Closed patel99 closed 8 years ago

patel99 commented 8 years ago

Even after providing absolute path to the a.c file, I am getting following error


Welcome to Remote job submission on Karst Enter the workspace directory: /home/pratik/INFO590/OtherTeams/TeamZenith/BackupRemote/src/main/resources [2016-02-01 19:00:49,050] INFO 0[main] - org.airavata.teamzenith.config.SSHPropertyHandler.getPropertyMap(SSHPropertyHandler.java:19) - Properties file loaded Enter the file with location: /home/pratik/INFO590/OtherTeams/TeamZenith/BackupRemote/src/main/resources/a.c [2016-02-01 19:01:06,259] INFO 17209[main] - org.airavata.teamzenith.config.SSHPropertyHandler.getPropertyMap(SSHPropertyHandler.java:19) - Properties file loaded /home/pratik/INFO590/OtherTeams/TeamZenith/BackupRemote/src/main/resources/a.c [2016-02-01 19:01:06,260]ERROR 17210[main] - org.airavata.teamzenith.main.Core.main(Core.java:85) - java.io.FileNotFoundException: File not found

a2l007 commented 8 years ago

Are you running the jar file from the Project_One_Submission or the jar after building the source project?

patel99 commented 8 years ago

I was running the main class through eclipse

anujbhan commented 8 years ago

You don't have to provide the absolute path for source code file name, Just the filename would suffice. I have double checked the code. The above issue shouldn't occur, I reckon the issue is with the directory address you have provided, Just append the workspace directory address with "\" at the end.

If the issue persists, let me know, If not please close the issue.

regards, Anuj Bhandar

patel99 commented 8 years ago

HI, I found what I was doing wrong, I got it right. I am closing this issue