In the tutorial, the dynamic java file which the custom classloader uses, does not import any packages which is something i need to do. Hence, when i try to import a package, i get a compiler error "package xxx.yyy.zzz does not exist" even though the jars are in the project buildpath in eclipse.
Interestingly i do not get this error when i try to import classes from packages that are in the same src folder as my application in eclipse, or when i import standard Java classes like java.util etc. It's only external jars that i get this problem with.
Any suggestions would be greatly appreciated.
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
subject: Compiler can't find external jars when using custom ClassLoader