Hi,

On Fri, Feb 7, 2020 at 12:33 PM Balaji Srinivasan <[email protected]> wrote:
>
> Tried with few combinations

You should look at the Java code and match what you write in the XML.
In particular the signatures for constructors and methods.

>   <Call name="addConnector">
>         <Arg>
>         <New class="org.eclipse.jetty.server.ServerConnector">
>                 <Arg><Ref refid="<ServerName From Configure>"/></Arg>
>                 <Arg><Ref refid="httpFactory"/></Arg>
>         </New>

There is no such constructor in Java code, and correctly it is reported below:

> Caused by: java.lang.IllegalStateException: No suitable constructor: <New 
> class="org.eclipse.jetty.server.ServerConnector"><Arg><Ref 
> refid="<ServerNameFromConfigure>"/></Arg><Arg><Ref 
> refid="httpFactory"/></Arg></New> on 
> Server@2038ae61{STOPPED}[9.4.26.v20200117]

There is no such constructor.
Please look at the Java signature for ServerConnector and match that
with your XML.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to