You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Starting Jetty with jetty.home.bundle=org.eclipse.osgi.boot fails while reading xml and setting the configurations.
It tries to set the array of Strings:
[org.eclipse.jetty.webapp.FragmentConfiguration, org.eclipse.jetty.webapp.JettyWebXmlConfiguration, org.eclipse.jetty.webapp.WebXmlConfiguration, org.eclipse.jetty.webapp.WebAppConfiguration, org.eclipse.jetty.webapp.ServletsConfiguration, org.eclipse.jetty.webapp.JspConfiguration, org.eclipse.jetty.webapp.JaasConfiguration, org.eclipse.jetty.webapp.JndiConfiguration, org.eclipse.jetty.plus.webapp.PlusConfiguration, org.eclipse.jetty.plus.webapp.EnvConfiguration, org.eclipse.jetty.webapp.JmxConfiguration, org.eclipse.jetty.osgi.annotations.AnnotationConfiguration, org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration, org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration, org.eclipse.jetty.osgi.boot.OSGiWebInfConfiguration, org.eclipse.jetty.osgi.boot.OSGiMetaInfConfiguration]
org.eclipse.jetty.webapp.Configurations#add()
This method existis multiple times in this class. This one was taken from:
Jetty version
10.0.0, 10.0.1
Java version
11
OS type/version
Linux/Windows
Description
Starting Jetty with jetty.home.bundle=org.eclipse.osgi.boot fails while reading xml and setting the configurations.
It tries to set the array of Strings:
[org.eclipse.jetty.webapp.FragmentConfiguration, org.eclipse.jetty.webapp.JettyWebXmlConfiguration, org.eclipse.jetty.webapp.WebXmlConfiguration, org.eclipse.jetty.webapp.WebAppConfiguration, org.eclipse.jetty.webapp.ServletsConfiguration, org.eclipse.jetty.webapp.JspConfiguration, org.eclipse.jetty.webapp.JaasConfiguration, org.eclipse.jetty.webapp.JndiConfiguration, org.eclipse.jetty.plus.webapp.PlusConfiguration, org.eclipse.jetty.plus.webapp.EnvConfiguration, org.eclipse.jetty.webapp.JmxConfiguration, org.eclipse.jetty.osgi.annotations.AnnotationConfiguration, org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration, org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration, org.eclipse.jetty.osgi.boot.OSGiWebInfConfiguration, org.eclipse.jetty.osgi.boot.OSGiMetaInfConfiguration]
org.eclipse.jetty.webapp.Configurations#add()
This method existis multiple times in this class. This one was taken from:
org.eclipse.jetty.xml.XmlConfiguration#invokeMethod (709):
method: public boolean java.util.AbstractList.add(java.lang.Object)
object: class org.eclipse.jetty.webapp.Configurations@1
args: see array above
I think the expected method to be called instead, was:
org.eclipse.jetty.webapp.Configurations#add(@name("configClass") String... configClass)
This prevents Jetty from starting in OSGi using org.eclipse.jetty.osgi.boot, with the default configuration.
The text was updated successfully, but these errors were encountered: