如图 在使用Spring框架时
ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
ClassPathXmlApplicationContext 表示是从类路径下加载applicationContext.xml配置文件
搞不清楚这里的类路径是指哪里?(在环境变量中配置的 class path 变量和 这个类路径有什么联系吗?)
applicationContext.xml文件在硬盘的路径是 D:\JAVA/workplace/Spring/src/applicationContext.xml 这是类路径吗?
那在环境变量中配置的classpath Java_Home Path 又是做什么的呢? 这里的classpath指的不是类路径吗?