Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can JRebel reload Kotlin classes when they are used by kotlin-maven-plugin plugin on maven?

Can JRebel reload Kotlin classes when they are used by kotlin-maven-plugin plugin on Maven?

The project runs on an application server.

like image 361
Dagvadorj Avatar asked Dec 03 '25 04:12

Dagvadorj


1 Answers

JRebel will reload kotlin classes provided they are compiled either via IDE or manually by invoking maven compile.

Also the classes must either be compiled to the path specified in the rebel.xml or to the classloader's classpath(e.g. when using exploded deployment with target/classes or target/artifact-name/WEB-INF/classes as the root).

Usually achieving this requires no extra steps and it should be just: Enable JRebel -> Start server & deploy application -> Make changes -> make/compile to reload

If you have not done so yet, please try the free trial at https://zeroturnaround.com/software/jrebel/trial/ and report back any issues and suggestions to [email protected]

like image 150
Murka Avatar answered Dec 06 '25 01:12

Murka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!