我正在使用带有提供的默认值的 Spring AOP DefaultContextLoadTimeWeaver
。我希望能够编织持久实体,并且我知道我必须设置一个编织器选项(来自控制台的警告):
warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
我的搜索只找到了 .xml 文件中的配置示例,但我真的希望它出现在我的 Java 配置类中,我的所有配置都在其中。有没有办法做到这一点?