on 11-23-2004 8:40 PM
Hi,
I am seeing the following.
WebDynpro DC A has jar files of several java projects.
WebDynpro DC B uses jar files in A.
WebDynpro DC C uses jar files in A and needs interface views in B.
I set up the dependencies in the DC definitions as follows
B uses A.
C uses B.
C uses A.
When I run C, I get the following exception
java.lang.LinkageError: Class com/company/blah violates loader constraints
The class is a class that exists in A.
If I remove the linkage from C to B, it works fine, but I still need to access the view in B. How can this be solved?
Tom, you create circular dependency between classloaders and then complains about errors
You have to re-organize your sources between DCs to resolve this dependency.
For example, you can create Z with classes common for C & B. Then you will have:
B uses A
B uses Z
C uses Z
C uses A
(probably A uses Z)
This will resolve linkage error
Regards,
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.