intellij src/main/java non java war deploy issue



I want to deploy the TestMapper.xml in Java Folder
(TestMapper.xml is resource file)
but IntelliJ doesn't deploy the TestMapper.xml ,
only IntelliJ war deploy the Test.xml in Resources Folder

[when i use eclipse, it is possible but IntelliJ it is impossible]

I solve deploying in Gradle build You can see under source

processResources {
    from('src/main/java') {
        include '**/*.xml'
    into 'build/classes'
    includeEmptyDirs = true

I mean I want to deploy TestMapper.xml (resources file) in Java Folder in IntelliJ

Comment actions Permalink

Did you import this project from Gradle?

Comment actions Permalink

Thank you

gradle project OK


Please sign in to leave a comment.