Das Wesen des Problems: wie Sie Ihre eigene web.xml Datei übertragenWie stellt web.xml org.apache.tomee.embedded.Configuration
new org.apache.tomee.embedded.Configuration().setWebXml("file_name")
.
Wenn ich HTTP-Port als new org.apache.tomee.embedded.Configuration().setHttpPort(_port)
funktioniert gut funktioniert.
Aber wenn web.xml
eingestellt ist, funktioniert es nicht.