Yes, i know about enable-welcome-root=false
, but cant find this in files. Use wildfly final or jboss eap 6.2. Where it is?
And why i need to add jboss-web.xml in WEB-INF?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
The file in question is standalone.xml and is located in the following directory:
You need to add
enable-welcome-root=false
in your virtual server definition in your standalone:And create a jboss-web.xml file with the following:
And building on the answer provided by BelgianMyWaffle.
While J2EE defines the execution environment of a Java app it does not mandate how application servers are configured, so each has their own way to customize behaviour.
The following describes the jboss-web.xml:
And the following lists all the various mechanisms supported by wildfly for customizing application deployment
Solution: Clean wildfly server, new clean project, just added jboss-web.xml to WEB-INF. Normal deploying and everything works fine.