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

cayenne-user | D Tim Cummings | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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.server.Server' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.
  2. 0

    Jetty failing when run in Maven (Saying object isn't right type when it is)

    Stack Overflow | 5 years ago | Caelrin
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:8.0.0.RC0:run (start-jetty) on project THEPROJECTIAMWORKINGON: Failure

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

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

      at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure()
    2. Jetty
      XmlConfiguration.configure
      1. org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:318)
      2. org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:279)
      2 frames
    3. runjettyrun
      Bootstrap.main
      1. runjettyrun.Bootstrap.main(Bootstrap.java:66)
      1 frame