1. Abnormal information
Severity: Exception Sending context initialized event toListener Instance of class orG.springframework.web.context.contextloaderlistenerorg.springframework.beans.factory.beancreationexception: Error Creating Bean withname' Httpconnection ' definedinch file[F:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\timetable\WEB-INF\classes\com\ Benben\timetable\common\httpconnection.class]: Initialization ofBean failed; Nested exception isJava.lang.IllegalArgumentException:Error the@annotation pointcut Expressi on isOnly supported atJava5Compliance levelor above atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( Abstractautowirecapablebeanfactory.java:527) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( Abstractautowirecapablebeanfactory.java:456) atorg.springframework.beans.factory.support.abstractbeanfactory$1.GetObject (Abstractbeanfactory.java:294) atOrg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( Defaultsingletonbeanregistry.java:225) atOrg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (Abstractbeanfactory.java:291) atOrg.springframework.beans.factory.support.AbstractBeanFactory.getBean (Abstractbeanfactory.java:193) atOrg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( Defaultlistablebeanfactory.java:585) atOrg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization ( Abstractapplicationcontext.java:913) atOrg.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java:464) atOrg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext (Contextloader.java:385) atOrg.springframework.web.context.ContextLoader.initWebApplicationContext (Contextloader.java:284) atOrg.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java:111) atOrg.apache.catalina.core.StandardContext.listenerStart (Standardcontext.java:5016) atOrg.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5524) atOrg.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java: Max) atOrg.apache.catalina.core.containerbase$startchild.call (Containerbase.java: the the) atOrg.apache.catalina.core.containerbase$startchild.call (Containerbase.java: the $) atJava.util.concurrent.FutureTask.Run(Unknown Source) atJava.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source) atJava.util.concurrent.threadpoolexecutor$worker.Run(Unknown Source) atJava.lang.Thread.Run(Unknown Source) Caused by: java.lang.IllegalArgumentException:Error the@annotation pointcut Expression isOnly supported atJava5Compliance levelor above atOrg.aspectj.weaver.tools.PointcutParser.parsePointcutExpression (Pointcutparser.java:317) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression ( Aspectjexpressionpointcut.java:207) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression ( Aspectjexpressionpointcut.java:193) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch (Aspectjexpressionpointcut.java:182) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter (Aspectjexpressionpointcut.java:163) atOrg.springframework.aop.support.AopUtils.canApply (Aoputils.java:209) atOrg.springframework.aop.support.AopUtils.canApply (Aoputils.java:263) atOrg.springframework.aop.support.AopUtils.findAdvisorsThatCanApply (Aoputils.java:295) atOrg.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply ( Abstractadvisorautoproxycreator.java:117) atOrg.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors ( Abstractadvisorautoproxycreator.java: the) atOrg.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean ( Abstractadvisorautoproxycreator.java: the) atOrg.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary ( Abstractautoproxycreator.java:359) atOrg.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization ( Abstractautoproxycreator.java:322) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization (Abstractautowirecapablebeanfactory.java:407) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( Abstractautowirecapablebeanfactory.java:1461) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( Abstractautowirecapablebeanfactory.java:519) ... -More May the, - 3: in: -PM Org.apache.catalina.core.StandardContext listenerstart Severity: Exception Sending context initialized event toListener Instance of classCom.benben.timetable.device.component.listener.SocketListenerorg.springframework.beans.factory.BeanCreationException : Error Creating Bean withname' Httpconnection ' definedinch file[F:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\timetable\WEB-INF\classes\com\ Benben\timetable\common\httpconnection.class]: Initialization ofBean failed; Nested exception isJava.lang.IllegalArgumentException:Error the@annotation pointcut Expressi on isOnly supported atJava5Compliance levelor above atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( Abstractautowirecapablebeanfactory.java:527) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( Abstractautowirecapablebeanfactory.java:456) atorg.springframework.beans.factory.support.abstractbeanfactory$1.GetObject (Abstractbeanfactory.java:294) atOrg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( Defaultsingletonbeanregistry.java:225) atOrg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (Abstractbeanfactory.java:291) atOrg.springframework.beans.factory.support.AbstractBeanFactory.getBean (Abstractbeanfactory.java:193) atOrg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( Defaultlistablebeanfactory.java:585) atOrg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization ( Abstractapplicationcontext.java:913) atOrg.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java:464) atOrg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext (Contextloader.java:385) atOrg.springframework.web.context.ContextLoader.initWebApplicationContext (Contextloader.java:284) atOrg.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java:111) atOrg.apache.catalina.core.StandardContext.listenerStart (Standardcontext.java:5016) atOrg.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5524) atOrg.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java: Max) atOrg.apache.catalina.core.containerbase$startchild.call (Containerbase.java: the the) atOrg.apache.catalina.core.containerbase$startchild.call (Containerbase.java: the $) atJava.util.concurrent.FutureTask.Run(Unknown Source) atJava.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source) atJava.util.concurrent.threadpoolexecutor$worker.Run(Unknown Source) atJava.lang.Thread.Run(Unknown Source) Caused by: java.lang.IllegalArgumentException:Error the@annotation pointcut Expression isOnly supported atJava5Compliance levelor above atOrg.aspectj.weaver.tools.PointcutParser.parsePointcutExpression (Pointcutparser.java:317) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression ( Aspectjexpressionpointcut.java:207) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression ( Aspectjexpressionpointcut.java:193) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch (Aspectjexpressionpointcut.java:182) atOrg.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter (Aspectjexpressionpointcut.java:163) atOrg.springframework.aop.support.AopUtils.canApply (Aoputils.java:209) atOrg.springframework.aop.support.AopUtils.canApply (Aoputils.java:263) atOrg.springframework.aop.support.AopUtils.findAdvisorsThatCanApply (Aoputils.java:295) atOrg.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply ( Abstractadvisorautoproxycreator.java:117) atOrg.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors ( Abstractadvisorautoproxycreator.java: the) atOrg.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean ( Abstractadvisorautoproxycreator.java: the) atOrg.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary ( Abstractautoproxycreator.java:359) atOrg.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization ( Abstractautoproxycreator.java:322) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization (Abstractautowirecapablebeanfactory.java:407) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( Abstractautowirecapablebeanfactory.java:1461) atOrg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( Abstractautowirecapablebeanfactory.java:519) ... -More
2. Solve
Degree Niang after, said is org.aspect bag of problem. My bag is 1.6.2 version. Issue resolved after upgrading to version 1.7.3
<org.aspectj.version>1.6.2</org.aspectj.version>
Into:
<org.aspectj.version>1.7.3</org.aspectj.version>
Error The @annotation pointcut expression is a supported at Java 5 compliance level or above exception resolution