Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while starting Spring AOP application on Java 7 and Tomcat 7

Yehia El Hady
Posts: 1
Java Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic