I've had an issue for days and I can't find any information on this issue. I have searched this site the best I could and couldn't find anything that fixed my problem.
I have a project with multiple modules in it a core, data-services, and messaging. It's a stand alone java
jar that is a topic subscriber for JMS. The main class is in Core, and the data-services handles database transactions, and messaging handles listening on a spring jms container for messages, validates, and passes the data on to data-services.
Data-services as a stand alone project works fine, builds fine, all tests works, etc. Messaging(with core) works fine without data services(with the passing off to data-services commented out of course) it connects to the active mq topic, waits, catches messages like it should and I just display them to the console to make sure I got what I wanted, etc. But when I put these three modules under the main project and build the main project through maven
, which builds the projects in the following order:
[INFO] Reactor build order:
[INFO] Hibernate Data-Services
[INFO] JMS Messaging Services
[INFO] Core Jar Module
The build is fine, but when I start the app and spring starts up I get this error:
Now if I remove this dependency, it doesn't have this issue, well until it needs an activemq class in a later bean, then of course I get a classnotfound, but it looks like there is some issue with activeMQ and spring.
The xml it's blowing up on is:
Here is the main pom on the parent project if that will help, atleast give an idea of the versions I am using and what frameworks:
Can anyone point me in the right direction on this? I am at a complete loss and I have deadlines rapidly approaching.