Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jexcel - no such file or directory

 
George Simone
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have the code below which is working fine when running on my local computer (local computer has myEclipse and running JBOSS):
Workbook w = Workbook.getWorkbook(new File("c:/temp/file1.xls"));

When I deploy the application to our test server, I get an exception:
c:/temp/file1.xls (No such file or directory)

Do I need to specify the path differently when the application is running on a remote server as opposed to running on my local computer server?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic