From: Just F. <jus...@ya...> - 2009-08-29 23:42:28
|
Hi, I am trying to develop a staf service which depends on the pre-existing projects in eclipse. However, when I create a staf service class and compile this java service from command line outside eclipse, create a jar and load the staf service, I got several exceptions, so I tried to include all the jars in the classpath as 'export CLASSPATH=x.jar;y.jar;....' and finally got rid of exceptions. But the problem is still I get an exception which is because somewhere along the line the input is null to some class in the projects. I need to debug this. How do I even make sure that I am using the same jar as the projects in eclipse? I am unable to debug this. Looks like the jars which I have included in classpath through command line have more dependencies. How do I make sure there are no dependencies? Thanks, Justy |