File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error: Could not find or load main class at one call and no error at another call in the same script

 
nish sharma
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on an implementation of ESA, I changed one of the java files, compiled it using the command



and pasted the .class file to the corresponding directory(esalib.jar/clldsystem/esa) in the .jar file. Also i changed the name the original corresponding .class file.

Next, i have a python script which uses a command



but on running the python script, the command runs fine when used as:



But gives an Error: Could not find or load main class when used as:


in the same script. I am reading the variables word1 and word2 from a file. Why would it work fine at one place and give an error at other? I have checked using print statements that i am reading from the file correctly, so that must not be an issue. Thanks

Here are the details of what happened:

......and so on for every iteration
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic