aspose file tools*
The moose likes Java in General and the fly likes following error generated while reading CSV file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "following error generated while reading CSV file" Watch "following error generated while reading CSV file" New topic
Author

following error generated while reading CSV file

ashwini gurmale
Greenhorn

Joined: Jul 04, 2013
Posts: 4
Error: Could not find or load main class CSVRead


CODE:
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10376
    
    8

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
ashwini gurmale
Greenhorn

Joined: Jul 04, 2013
Posts: 4
1) I run the code but class file not generated.
2) I running this code using eclips.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10376
    
    8

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)
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10376
    
    8

Recommended reading
http://www.coderanch.com/t/552833/java/java/run-time-error-find-load
http://docs.oracle.com/javase/tutorial/getStarted/problems/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: following error generated while reading CSV file