java.lang.IllegalArgumentException: Object of class 'org.eclipse.jetty.webapp.WebAppContext' is not of type 'org.eclipse.jetty.server.Server'.

cayenne-user | D Tim Cummings | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: How to use JNDI in development

    cayenne-user | 3 years ago | D Tim Cummings
    java.lang.IllegalArgumentException: Object of class 'org.eclipse.jetty.webapp.WebAppContext' is not of type 'org.eclipse.jetty.server.Server'.
  2. 0

    Ongoing discussion of Jetty problems in Eclipse with 2.6.1-rc2 (issue #8526) - Grokbase

    grokbase.com | 7 months ago
    java.lang.IllegalArgumentException: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type Class are from different loaders. at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:323) at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:281) at org.eclipse.jetty.webapp.JettyWebXmlConfiguration.configure(JettyWebXmlConfiguration.java:103)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Object of class 'org.eclipse.jetty.webapp.WebAppContext' is not of type 'org.eclipse.jetty.server.Server'.

      at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure()
    2. Jetty
      WebAppContext.configure
      1. org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:318)
      2. org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:279)
      3. org.eclipse.jetty.plus.webapp.EnvConfiguration.configure(EnvConfiguration.java:119)
      4. org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:429)
      4 frames