Don't have an account yet?
Register on our site.
ZeroTurnaround Homepage › Forums › JRebel Support › How to avoid duplication of resources?
Tagged: JRebel remote
This topic contains 3 replies, has 1 voice, and was last updated by Victor Dombrovsky 1 week, 1 day ago.
I use Spring Boot and a java library that reads resources. The problem is that when I use jrebel, this library founds resources in two places:
1. URL [jar:file:/app.jar!/BOOT-INF/classes/schema/main.graphqls]
2. file [/root/.jrebel/cache/api/deployment/BOOT-INF/classes/schema/main.graphqls]
here the first location is where resources are actually located, while the second location contains duplicates. It causes errors.
How to avoid this?
I tried to use the following:
but it changes nothing.
– JRebel Agent 7.1.6 (201802050855).
– Spring Boot 2.0.0.RC1
This is the statement, that returns duplicated results:
I can’t change it, because it is from sources of a library I use.
BTW, I setup everything according to instruction for Spring Boot 1.x:
IntelliJ IDEA – JRebel – Startup – Linux / 64-bit JVM / Spring Boot 1.x
Could it cause the problem? Or (hopefully) I’m just doing something wrong?
You must be logged in to reply to this topic.