I'd bet it says "Exception in thread main java.lang.NoSuchMethodError: main". What it means is that your program did not have a main method with the proper signature - like "public static void main(String [ ] args)". You want to learn to read these exceptions - they really point you to the solution. For example, when you run a console application, it MUST have a main method. That is the starting point for execution. If it does not have a main method that matches the signature (is named main and takes an array of Strings as the input argument), and even does not return nothing (void), it won't know where to start. The next part, "java.lang.NoSuchMethodError" tells you that the problem is in the java.lang package, and it couldn't find the method main (see it after the colon?). Hope this helps.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com