morphia icon indicating copy to clipboard operation
morphia copied to clipboard

error using autoCap and spring-boot-devtools

Open skrstop opened this issue 3 months ago • 1 comments

use version 2.5.0 and jdk 17

  1. When using autoCap, an error will be reported when booting. The same problem description is ##3454

  2. There seems to be a bug related to the classloader. I used a query with the filter "id $eq xxx", and the error was "Resolved java.lang.IllegalArgumentException: Unable to set the java.lang.String field com.xxx.xxx.Entity.id to com.xxx.xxx.Entity". Through tracing, I found that the classloader of the entity object is RestartClassLoader, but the classloader of PropertyModel and PropertyAccessor is appClassLoader, which leads to a reflection error

skrstop avatar Sep 25 '25 09:09 skrstop

If you could put together a reproducer I'd be happy to take a look and see.

evanchooly avatar Oct 02 '25 02:10 evanchooly