Xlint:invalidAbsoluteTypeName

。_饼干妹妹 提交于 2019-12-10 18:33:40

问题


I see the below Spring framework exception while server start-up

**

> Initialization of bean failed; nested exception is
> java.lang.IllegalArgumentException: warning no match for this type
> name: com.java.site.admi.controllers.HomeController
> [Xlint:invalidAbsoluteTypeName]
>   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
>   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

**

anyone encounter this before ?


回答1:


It means that your pointcut wants to match class com.java.site.admi.controllers.HomeController, but cannot find it. Maybe something is wrong with the class or package name, e.g. maybe you wanted to write admininstead of admi.



来源:https://stackoverflow.com/questions/23780951/xlintinvalidabsolutetypename

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!