Spring Boot + WEB-INF

Ich habe einen sehr einfachen spring-boot-Projekt mit Abhängigkeit

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    <exclusions>
        <exclusion>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-tomcat</artifactId>
        </exclusion>
    </exclusions>
</dependency>

Beim erstellen dieser web-inf-Ordner angelegt wird, in das Zielverzeichnis, und packt alles in Klassen und lib Ordner.

Ich möchte eine xml-Datei ("jboss-deployment-structure.xml") an der Wurzel des web-inf, ("web-inf/jboss-deployment-structure.xml") wo soll ich es in den src-Ordner?

Habe ich versucht zu erstellen "public/jboss-deployment-structure.xml" Ordner im src, aber kein Glück.

InformationsquelleAutor Mayurb | 2015-01-16
Schreibe einen Kommentar