Skip to content

Instantly share code, notes, and snippets.

@rfum
Created September 21, 2017 14:36
Show Gist options
  • Save rfum/0f1c40e1a83b4f836028c8ae045189a1 to your computer and use it in GitHub Desktop.
Save rfum/0f1c40e1a83b4f836028c8ae045189a1 to your computer and use it in GitHub Desktop.
Exception
/home/rfm/jdk1.8.0_144/bin/java -javaagent:/home/rfm/Downloads/idea-IU-172.3968.16/lib/idea_rt.jar=39553:/home/rfm/Downloads/idea-IU-172.3968.16/bin -Dfile.encoding=UTF-8 -classpath /home/rfm/jdk1.8.0_144/jre/lib/charsets.jar:/home/rfm/jdk1.8.0_144/jre/lib/deploy.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/cldrdata.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/dnsns.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/jaccess.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/jfxrt.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/localedata.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/nashorn.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/sunec.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/sunjce_provider.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/sunpkcs11.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/zipfs.jar:/home/rfm/jdk1.8.0_144/jre/lib/javaws.jar:/home/rfm/jdk1.8.0_144/jre/lib/jce.jar:/home/rfm/jdk1.8.0_144/jre/lib/jfr.jar:/home/rfm/jdk1.8.0_144/jre/lib/jfxswt.jar:/home/rfm/jdk1.8.0_144/jre/lib/jsse.jar:/home/rfm/jdk1.8.0_144/jre/lib/management-agent.jar:/home/rfm/jdk1.8.0_144/jre/lib/plugin.jar:/home/rfm/jdk1.8.0_144/jre/lib/resources.jar:/home/rfm/jdk1.8.0_144/jre/lib/rt.jar:/home/rfm/IDEAProj/SpringAOP2/out/production/SpringAOP2:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-aop-4.3.9.RELEASE.jar:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-aspects-4.3.9.RELEASE.jar:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-beans-4.3.9.RELEASE.jar:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-context-4.3.9.RELEASE.jar:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-core-4.3.9.RELEASE.jar:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-expression-4.3.9.RELEASE.jar:/home/rfm/spring/spring-framework-4.3.9.RELEASE/libs/spring-context-support-4.3.9.RELEASE.jar:/home/rfm/spring/aspectj-1.8.10.jar:/home/rfm/spring/aopalliance-1.0.jar:/home/rfm/spring/cglib-3.2.5.jar:/home/rfm/spring/aspectjweaver-1.8.10.jar:/home/rfm/spring/spring-asm-3.1.4.RELEASE.jar:/home/rfm/spring/commons-logging-1.2/commons-logging-1.2.jar edu.istanbul.MainAOP
Sep 21, 2017 5:16:58 PM org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7a07c5b4: startup date [Thu Sep 21 17:16:58 MSK 2017]; root of context hierarchy
Sep 21, 2017 5:16:58 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:beans.xml]
Sep 21, 2017 5:16:59 PM org.springframework.context.support.ClassPathXmlApplicationContext refresh
WARNING: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'circle' defined in URL [file:beans.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: name [Xlint:invalidAbsoluteTypeName]
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'circle' defined in URL [file:beans.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: name [Xlint:invalidAbsoluteTypeName]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at edu.istanbul.MainAOP.main(MainAOP.java:11)
Caused by: java.lang.IllegalArgumentException: warning no match for this type name: name [Xlint:invalidAbsoluteTypeName]
at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:301)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:217)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:190)
at org.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter(AspectJExpressionPointcut.java:169)
at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:220)
at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:279)
at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:311)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:119)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:89)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:70)
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:346)
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:298)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:423)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1633)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
... 11 more
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment