不要过度依赖maven的自动依赖

尝试使用spring-data-jpa时候遇到一个问题,启动时报错:(下边是一行日志,太长了,我人工的给换行了)

1
2
3
4
5
6
7
Offending resource: class path resource [applicationContext.xml];
nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: 
Unexpected exception parsing XML document from class path resource [context/applicationContext-database.xml]; 
nested exception is org.springframework.beans.FatalBeanException: 
Invalid NamespaceHandler class [org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler] 
for namespace [http://www.springframework.org/schema/data/jpa]: problem with handler class file or dependent class; 
nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor

重装archlinux 尝试新的组合

整个电脑重新装了系统,还是ArchLinux,尝试了一些新的东西,简单记录下,备忘

  • ArchLinux
  • lightdm
  • lightdm-webkit-greeter
  • lightdm-webkit-archlinux-theme
  • i3-wm
  • gnome-shell
  • cinnamon
  • fontconfig-infinality
  • Zsh 强烈推荐