根据Neil提供的链接,我能够找到一种创建和使用
setJpaPropertyMap()来设置属性Map的方法。然后,它给了我一个不同的错误
LoadTimeWeavers,我用
@Bean public InstrumentationLoadTimeWeaver loadTimeWeaver() throws Exception { InstrumentationLoadTimeWeaver loadTimeWeaver = new InstrumentationLoadTimeWeaver(); return loadTimeWeaver; }解决。然后这给了我错误消息
java.lang.IllegalStateException: Must start with Java agent to use InstrumentationLoadTimeWeaver. See Spring documentation.
为此,我使用了此链接http://gradle.1045684.n5.nabble.com/Java-Agent-LTW-problem-with-
Gradle-and-Jetty-td4938600.html,因为这是一个解决方案,只是更改了版本到当前的Spring工具版本。我相信您会发现这并不是解决所有问题所需的重复步骤。



