2019年8月14日

玄学eclipse ,突然所有文件报错,然后,ctrl+a, ctrl+x, ctrl+v就好了

摘要: 突然,eclipse报错了,所有工程文件都标记叉号: Syntax error on token "package", byte expected Syntax error on token "import", throw expected Illegal modifier for the loca 阅读全文

posted @ 2019-08-14 21:06 CreatorKou 阅读(382) 评论(0) 推荐(0)

玄学springboot applicationcontext.getBean(用类名String还是类型Class), getBean(..)的调用场景结果不同?getBean(..)还会阻塞?@DependsOn按照名称依赖,那么getBean用类名String

摘要: springContextStati是一个实现了Applicationcontextaware的类的名字,可以getBean(..)RegistryTask是一个在RegistryServer调用netty封装的channelinitializer时候,的clienthandler被触发读事件的时候 new 的 @Component @DependsOn(value={"springContex... 阅读全文

posted @ 2019-08-14 21:02 CreatorKou 阅读(889) 评论(0) 推荐(0)

玄学yml,被@ActiveProfiles注解误导

摘要: @ActiveProfiles("')来自何处?怎么用?(不要被它的名字误导) ActiveProfiles is a class-level annotation that is used to declare which active bean definition profiles shoul 阅读全文

posted @ 2019-08-14 10:50 CreatorKou 阅读(249) 评论(0) 推荐(0)

玄学yml,被@ActiveProfiles注解误导

摘要: @ActiveProfiles("')来自何处?怎么用?(不要被它的名字误导) ActiveProfiles is a class-level annotation that is used to declare which active bean definition profiles shoul 阅读全文

posted @ 2019-08-14 10:50 CreatorKou 阅读(2354) 评论(0) 推荐(1)

导航