Hi, I am facing a problem while retrieving objects from a list obtained from another package.
This is the code of my com.infosys.ingreen.middleware.service.DeviceService class:
And this is middleware-dao.xml:
Now I know the problem is because of different class loaders. Now the thing is all the classes are in the same WAR, so same classloader should be used. What I assume is may be Spring is using its own class loader SimpleLoadTimeWeaver to load DeviceDao class. If that is the issue, then how can I resolve it? Otherwise what can be the problem??