Hi all,
I've just upgraded to Spring 3.0.2.RELEASE and want to use the @Async annotation. In Eclipse I get the error message "Async cannot be resolved to a type". Obviously the right jar is not in the classpath. Does anyone know which dependency to include in my POM? So far I have:
Many thanks!Code:<!-- SPRING --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>3.0.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>3.0.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>3.0.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>3.0.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-dao</artifactId> <version>2.0.8</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>3.0.2.RELEASE</version> </dependency> <dependency> <groupId>springmodules</groupId> <artifactId>springmodules-validation</artifactId> <version>0.4</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.0.2.RELEASE</version> </dependency>
Nes


Reply With Quote
!