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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -