on 03-06-2009 11:01 AM
Hi,
I Exposed my Portal Service as a webservice. The service works fine as long as all of the classes are self-contained within the same project. If i access the classes in a different project. It throws NoClassDefFoundError.
I tried adding the runtime and deploy time dependency to the project and added the jar file in the lib folder, i have given the sharing reference in portalapp.xml
Nothing seems to work.
How can i refer to other projects at runtime.
Thanks
Sathish
Hi,
Don't know what type of project you use, but look for the DC explorer view and add your dependent jar's there. If you cant' find this view, create a DC project of type J2EE or Java and import you current project in there.
Good luck,
Roelof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.