hi i am working with a spring mvc project and i want to be able to do this annotation
@EnableSpringConfigured
in the top of one of my classes like this
@Configuration
@EnableSpringConfigured <---- this one gives me troubles
@ComponentScan( basePackages = {"com.abc.dom", "com.abc.repo", "com.abc.auth"})
@EnableJpaRepositories(basePackages="com.abc.repo")
public class ConfigJPA
{
....
}
what maven dependency should i have in my pom.xml to be able to do this import:
import org.springframework.context.annotation.aspectj.EnableSpringConfigured;
my spring version is 4.0.6.RELEASE
this is how i added the dependency and it worked
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>3.2.0.RELEASE</version>
</dependency>
Reimeus the link to the page that you give the artifactId was added like this
<artifactId>org.springframework.aspects</artifactId>
instead like <artifactId>spring-aspects</artifactId>
thats why it dont worked for me, but thanks anyway it helped me too
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With