admin管理员组文章数量:1026989
Using VS Code I am trying to access the file application.conf located in the resources folder of a java maven project:
In the projects setting I have src/main/resources in the classpath:
Unfortunately running maven lifecyles the resources folder is not available in the target/classes folder:
Hence the java program with VS Code cannot access any file in the resources folder, how can I add src/main/resources to the class path? (right click folder -> add "Add Folder to Java Source Path" does not work with maven in VS Code)
Using VS Code I am trying to access the file application.conf located in the resources folder of a java maven project:
In the projects setting I have src/main/resources in the classpath:
Unfortunately running maven lifecyles the resources folder is not available in the target/classes folder:
Hence the java program with VS Code cannot access any file in the resources folder, how can I add src/main/resources to the class path? (right click folder -> add "Add Folder to Java Source Path" does not work with maven in VS Code)
本文标签: javaVS Code srcmainresources not included in the class pathStack Overflow
版权声明:本文标题:java - VS Code srcmainresources not included in the class path - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745666658a2162215.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论