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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -