These are chat archives for HotswapProjects/user

10th
Jan 2018
Vigneshwaran
@imvigneshb
Jan 10 2018 10:19
Can anyone guide me to configure Hotswapagent into my STS for Spring Hibernate project with JPA, Hibernate-Validator
Zakaria Amine
@zak905
Jan 10 2018 10:43
are you using Spring boot ?
Vigneshwaran
@imvigneshb
Jan 10 2018 10:44
Nope..
Am using Spring WebMVC
Zakaria Amine
@zak905
Jan 10 2018 10:52
ok how are you deploying the app ? on Tomcat?
Vigneshwaran
@imvigneshb
Jan 10 2018 10:55
Yes in tomcat
Zakaria Amine
@zak905
Jan 10 2018 10:57
so you have to create a hotswap-agent.properties in src/main/resources
Vigneshwaran
@imvigneshb
Jan 10 2018 10:58
ok in that properties what i need to mention
Zakaria Amine
@zak905
Jan 10 2018 10:59
extraClasspath=WEB-INF/classes
autoHotswap=true
and add the HotSwap JVM args to Tomcat
and then when you need to reload your project, you can recompile it and redirect the compilation out put to your webapps/yourapp/WEB-INF/classes
Vigneshwaran
@imvigneshb
Jan 10 2018 11:01
Thanks for the help @zak905 . I will try with my project
Vigneshwaran
@imvigneshb
Jan 10 2018 11:43
It's always throwing Error refreshing BeanMetaDataManagerCache/AnnotatedMetaDataProvider cache.