如图,一个普通java工程。activiti.cfg.xml文件明明是在config目录下,为什么路劲写的时候没有带上config?这里的相对路径是相对于谁吗?
大家讲道理2017-04-17 17:42:11
Open .classPath
文件,在文件中可以发现有这么一行:<classpathentry kind="src" path="src/config"/>
这样当编译时,就会将src/config
in the project root directory and compile directly to the root directory.
迷茫2017-04-17 17:42:11
Go to the target directory and look at the structure in the classes directory. That is the compiled result. When you execute, you use the compiled result, not the source code