Spring Boot application exits immediately when I autowire components of another jar
I have a executable jar file ("A") which has some controllers, services etc. This application depends on another project ("B") which I have added as a dependency in the application's pom file. Project B does not have any controllers. It just has some service methods. Now, when I autowire some fields from project B in project A and then try to start project A, it exits immediately with a message Disconnected from the target VM, address: '127.0.0.1:49447', transport: 'socket' Process finished with exit code 1 However, when I remove the autowiring and then try to start, it starts normally. Why does this happen? Just a note that project A uses Spring 1.5, whereas project B is in Spring boot 1.3. Also, I have other projects which also use project B as a dependency, but they are working fine. I've tried adding logs: logging.level.root=WARN logging.level.org.springframework.web=DEBUG logging.level.org.hibernate=ERROR But it doesn't print anything.
Excluding packages from jars in maven assembly descriptor
Performing regex on a stream
Spring bean creation via deserialization
GUI for generating XML
iTextSharp open Document as 75%
supporting migration, software build and dependency analysis
Using Protocol Buffers in Java EE?
Java - short and casting
Why does this Java code not utilize all CPU cores?
I want to use Google Map API for my Desktop application
How to create Two java webapps and mutualize jar dependencies& others files?
Can I use android.os.* libraries in a standalone project?
How can I write an anonymous function in Java?
Runtime exception when creating Bundle in JUnit test
How can I catch requests in mozswing?
Servlet requests are executed sequentially for no apparent reason in Glassfish v3