i'm kinda stuck here and don't know what to do . i'm trying to run Spring AOP on Java 7 and tomcat 7. i added new AspectJ libraries which are: aspectjtools-1.6.1.jar,aspectjrt-1.6.1.jar and aspectjweaver-1.6.12.jar. and the application compiles with no errors. however when i try to deploy it on tomcat 7 and start the application i get the below exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [/WEB-INF/context/general.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error the @annotation pointcut expression is only supported at Java 5 compliance level or above
any clue how to solve this issue ??
Thanks in Advance.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Problem while starting Spring AOP application on Java 7 and Tomcat 7