2002 JI Open Discussion Posted August 17, 2006 Posted August 17, 2006 By: Moisey Blehman - rhal Using import classes in xml 2003-01-31 01:47 Hi, How can I import my own classes (not only lang and util) in order to use them inside of xml? I'am aware that one can use non default classes through scriplets, but can this be done without scriplets use? Thanks for advice By: Teodor Danciu - teodord RE: Using import classes in xml 2003-01-31 02:40 Hi, You only have to use the entire class name in the report expressions (including the package). That's all. No import statements needed. I hope this helps. Teodor By: Moisey Blehman - rhal RE: Using import classes in xml 2003-02-01 05:19 Thank you very much - that really helped a lot. ^_^
bobz28 Posted September 13, 2010 Posted September 13, 2010 Hi all, I tried including the package but still get an error: java.lang.ClassNotFoundException: abc.myservice.ClassBService Any idea? Thanks-
szaharia Posted September 13, 2010 Posted September 13, 2010 Apparently the abc.myservice.ClassBService class is not in your app's classpath. Try to add it to the classpath.HTH,,sanda
bobz28 Posted September 13, 2010 Posted September 13, 2010 Thanks for your response...When I included the abc.myservice.ClassBService class in the classpath. I get java.util.zip.ZipException: error in opening zip file... Weird...Dod you have any ideas? Thanks-
bobz28 Posted September 13, 2010 Posted September 13, 2010 Can somebody help...!!!!I included the abc.myservice.ClassBService class in the classpath and when I compile the template I getjava.util.zip.ZipException: error in opening zip file...
bobz28 Posted September 14, 2010 Posted September 14, 2010 Well, I bundled the classes into a jar file and included it in the classpath and it works fine. Couldn't include individual class though... weird, don't know why...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now