> I always thought that it was possible for two diffirent jars to
> contribute classes to the same package.
>
> I have been doing that successfully, but now, on one of our machines
> running tomcat, we are getting the following error for a class in a
> "split" package.
What did you change? Can you reproduce that change with a minimal
example? Are you sure you have an up to date, consistent copy of everything.
> (Does it make any difference if the jars are signed?)
There are a few rules.
Classes loaded by different class loaders are effectively in different
packages for access purposes, even though they can share the same
'namespace'.
The signers of all class in a package loaded by one class loader must be
the same.
Packages may be sealed, so that all classes must come that one JAR.
Random other restrictions that the container might wish to impose. For
instance Java WebStart requires that all jars loaded by the same jnlp
file have the same signer.
Tom Hawtin