开发者

How load xml files, in IntelliJ IDEA

IntelliJ not find xml file under sources folder.

example) src/net/saltfactory/domain/PersonSqlMap.xml

but, If I copy it and past out folder, IntelliJ find xml file

example) out/net/saltfactory/domain/Perso开发者_如何学运维nSqlMap.xml

I hope that don't copy and past XML files to out folder

help me


First, make sure src is marked as a source folder for your module in Module Settings --> Modules --> --> Sources.

Second, make sure the list of recognized resources includes one for XML files (?*.xml) in Settings --> Project --> Compiler --> Resource Settings.

This is how IntelliJ knows what to copy into your classpath (output folder) in addition to class files. If this doesn't help, please provide more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜