Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我能够配置数据源、JPA 事务管理器和 Spring 方面的 jar 文件。准确地说,我想要 AspectJ 编译时编织 (CWT)。如果有人这样做,请分享完成此操作的任何线索。
我最近偶然发现了这个问题,并通过在 spring XML 中包含这个标签来解决这个问题:<context:spring-configured/>这是 CWT 的要求之一。如果您使用的是无 XML 的 java 配置,那么这里是相同效果的注释:@EnableSpringConfigured. 如果其他配置到位,希望这会起作用!
<context:spring-configured/>
@EnableSpringConfigured