项目右键>properties

src下的文件又叫类路径下的文件

classpath类路径概念

类路径:项目路径\build\classes

为什么他叫类路径?

src下的内容都在项目源码位置>build>classes下,所以在写src下的文件时候,直接写classpath:文件名,就可以找到文件

如果文件在类路径的包下,就要加上包名,如:项目路径\build\classes\com\spring_stu\aoon\ApplicationContext.xml


相关文章:

  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2021-09-30
  • 2021-11-18
  • 2021-12-18
猜你喜欢
  • 2021-12-29
  • 2021-11-25
  • 2022-12-23
  • 2021-08-10
  • 2021-07-30
  • 2021-11-20
相关资源
相似解决方案