I am working on a spring project and I have two different modules framework and workFlow.
framework serves as a Framework Module which provides structure and framework and has main class that loads and runs xml configuration files of all the other modules.
And, workFlow provides configurations(XML and java based) and perform some actions using some classes in Module one as dependencies.
Given that workFlow has framework in its class path as it is using some reference libraries and dependencies.
Now, when I run my main class in framework module, it says java configuration files mentioned in xml of workFlow module could not be found.
Even simple import statement says workFlow could not be resolved to a type.
I added a dummy boot class in workFlow module and beans are getting created but, when I run main class in framework module then it fails to find java config file.
How to get around this?
I tried adding workFlow as a dependency in framework module but it doesn’t work.
Amit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.