intellij src/main/java non java war deploy issue

Answered

 

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

2 comments
Comment actions Permalink

Did you import this project from Gradle?

0
Comment actions Permalink

Thank you

gradle project OK

0

Please sign in to leave a comment.