-1
了問題的實質:如何將自己的的web.xml文件傳輸到如何web.xml中設置爲org.apache.tomee.embedded.Configuration
new org.apache.tomee.embedded.Configuration().setWebXml("file_name")
。
當我設置http端口爲new org.apache.tomee.embedded.Configuration().setHttpPort(_port)
工作正常。
但是,當設置爲web.xml
它不起作用。