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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via coderanch.com by Unknown author, 2 years ago
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
via Coderanch by Yehia El Hady, 10 months ago
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
via deepakgaikwad.net by Unknown author, 1 year ago
Error creating bean with name ‘/hellovisitor.htm’ defined in ServletContext resource [/WEB-INF/SpringMVCTutorial-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property ‘commandName’ of bean class [controller.HelloWorldController]: No property ‘commandName’ found
via epseelon.com by Unknown author, 1 year ago
Error creating bean with name ‘_messageBrokerDefaultHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘_messageBroker': Invocation of init
via Spring JIRA by Manasa T M, 1 year ago
Error creating bean with name 'queueConnectionFactory': Initialization of bean failed; nested exception is java.lang.NullPointerException
via Spring JIRA by Manasa T M, 1 year ago
Error creating bean with name 'queueConnectionFactory': Initialization of bean failed; nested exception is java.lang.NullPointerException
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
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)

Users with the same issue

3 times, 2 weeks ago
2 times, 2 months ago
Once, 4 months ago
Once, 11 months ago
4 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.