In the settings of the idea it is established that the sources folder (src by default) is included in the classpath. In fact, it is not. Someone will explain why only target / classes folder is included in the classpath.
- what is it hindering? - titov_andrei
- @titov_andrei to me - voipp
|
1 answer
Maybe in fact only compiled files ( .class ) should be in the classpath ?!
- why then is the src folder in the project dependencies located!? - voipp
- @voipp, look at the module configuration file (<module_name> .iml), there
<output url="file://$MODULE_DIR$/target/classes" />
for<sourceFolder url="file://$MODULE_DIR$/src isTestSource="false" />
- Nurlan - and? what's up with that? - voipp
//$MODULE_DIR$/src
compiled into//$MODULE_DIR$/target/classes
folder (there will be .class files) - Nurlan
|