classpath - Spring RestTemplate dependency issue in Ear -


the organisation work has few standalone services using spring boot , resttemplate communicate each other , main monolith (classical skinny war in ear).

however, running problems classpath when try resttemplate running inside ear, not inside war. don't consider making rest call part of web application, moved code library gets packaged in ear/lib. moved spring-web (4.1.6.release) ear/lib well, @ point webapplicationinitializer code stops working.

is there way application still kickstarted spring-web inside ear/lib rather web-inf/lib? or should resign ourselves either using resttemplate exclusively in war/finding alternative resttemplate?

never mind, apparently when spring-web isn't deployed in web-inf/lib, webapplicationinitializers don't work. can work around that.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -