Spring will find all the classes in a package as long as the classes are in classpath. Let's say your package p.q.r contains a class called A, and you can compile and execute
new p.q.r.A() in your application, then Spring should find A when it scans p.q.r package
You need to look at how you are packaging the applications. You haven't given enough information here. Are these web applications? Are these applications in seperate Wars in the same EAR? or seperate EARS?. Where are the classes? In jar files in the lib folder of the Ear? or in the WAR?
Java isolates EAR files from each other. A class packaged in one Ear won;t be available to other Ears. If Java is isolating the classes, Spring won;t find it
All the Jars in the EAR/lib are available to all the Wars, so if your p.q.r package is inside a jar in the Ear/lib folder, then Spring can load it from both Wars. However, if the class is inside the War, then only the application that is in that War will have access to the class.