Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

following error generated while reading CSV file

 
ashwini gurmale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error: Could not find or load main class CSVRead


CODE:
 
Maneesh Godbole
Saloon Keeper
Posts: 11185
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In future, while posting code, please UseCodeTags I have added them this time for you. As you can see they make the code much more easier to read and understand.

This error indicates the said class is not found on the class path.
1) Have you compiled your code? Do you see .class file(s)?
2) How are you running your application. IDE, commandline, anything else? If command line, please copy paste the exact command you are using
 
ashwini gurmale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) I run the code but class file not generated.
2) I running this code using eclips.
 
Maneesh Godbole
Saloon Keeper
Posts: 11185
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you
Right click ->Run As -> Java application?
Try refreshing your workspace and/or restarting eclipse. (Here I am presuming you do not see any errors on the console besides the one you mentioned)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic