Success.
IS 6.5 SP2
JVM 1.4.2_12
Created PackageA with a JAR file in …/packages/PackageA/code/jars
Created PackageB, configured a package dependency on PackageA, version 1.*
Added PackageB:checkVisibility Java service which referenced a class in the JAR in PackageA–I simply created a new object of a class in the JAR.
The Java service compiled successfully right away.
When I ran it the first time, it failed with the target invocation error.
After reloading PackageA and PackageB, the service ran successfully.
Thanks for helping me correct my misunderstanding!
[Edit] And if I remove the dependency from PackageB and reload PackageB, the service fails.
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB