Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Rif: Configuring a Https Connector in jetty-maven-plugin

Done, the example in the official documentation is wrong as correctly stated here


Raffaele Gambelli

-----jetty-users-bounces@xxxxxxxxxxx ha scritto: -----
Per: jetty-users@xxxxxxxxxxx
Da: Raffaele Gambelli
Inviato da: jetty-users-bounces@xxxxxxxxxxx
Data: 18/05/2017 04.21PM
Oggetto: [jetty-users] Configuring a Https Connector in jetty-maven-plugin

Hi all,

I would like to configure https embedded jetty via maven plugin, I'm trying these steps but when launch jetty:run I receive the following BUILD FAILURE:

Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.4.5.v20170502:run (default-cli) on project mail-ws: Failure: Unknown configuration type: New in org.eclipse.jetty.xml.XmlConfiguration@2ed7978c -> [Help 1]

Thanks in advance for your time and help, bye

It is probably pointing the first line of jetty.xml which is:
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration" > <Set name="secureScheme"> https </Set> <Set name="securePort"> <Property name="" default="8443" /> </Set> <Set name="outputBufferSize"> 32768 </Set> <Set name="requestHeaderSize"> 8192 </Set> <Set name="responseHeaderSize"> 8192 </Set> <Set name="sendServerVersion"> true </Set> <Set name="sendDateHeader"> false </Set> <Set name="headerCacheSize"> 512 </Set> <!-- Uncomment to enable handling of X-Forwarded- style headers <Call name="addCustomizer"> <Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg> </Call> --> </New>

Thanks in advance for your time and help, bye

Raffaele Gambelli

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top