I've coded two model files. For some associations both models have reference to a type in the other file. Also I updated depends-on tag (one model depends on the other) of beans in context file (I know depends-on tag refers to bean which is already created). It is throwing error when I run in tomcat.
(1) Is there a way to achieve the above without error?
(2) If not, put all types in one model file, is it what I need to do?