on 08-21-2006 7:58 PM
Hi,
I have created a simple Java program using NWDS and imported the jar file into the Namespace. When I try to instantiate my class, it says Package does not exist.
Can any one let me know why am I getting this error?
Thanks
Venkat Viswanathan
My import statement had an error. I forgot to add .* or .<specific class> in the import statement.
It happened due to long-time working on .NET where you don't import a specific class, rather you use a specific package. Also, it is due to extensive usage of IDE which catches these type of silly errors. I believe XI needs an IDE support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Venkat,
Did you create the JAR file using the PACKAGE or did u create the JAr file using the CLASS file?
Right CLick on the package in NWDS> Export> JAR-->
and then import this jar in XI.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you fill the <b>import section</b>
in your user defined function with the package name
of your java class?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.