Jetty
  1. Jetty
  2. JETTY-1071

org.mortbay.jetty.nio.SelectChannelConnector cannot be loaded in 7.0.0.1beta3

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Maven
    • Labels:
      None
    • Environment:
      Windows XP, Maven 2.2
    • Number of attachments :
      0

      Description

      This configuration doesn't work with 7.0.0.1beta3, it worked with 7.0.0pre5:
      <connectors>
      <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
      <port>20080</port>
      </connector>
      </connectors>

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to configure plugin parameters for: org.mortbay.jetty:jetty-maven-plugin:7.0.0.1beta3

      Cause: Class name which was explicitly given in configuration using 'implementation' attribute: 'org.mortbay.jetty.nio.SelectChannelConnector' cannot be loaded

        Activity

        Hide
        Greg Wilkins added a comment -

        The classnames have changed somewhat with our move to eclipse. There are tools to help rename from org.mortbay.jetty to org.eclipse.jetty

        see the porting to jetty section under quickstart at http://wiki.eclipse.org/Jetty

        Show
        Greg Wilkins added a comment - The classnames have changed somewhat with our move to eclipse. There are tools to help rename from org.mortbay.jetty to org.eclipse.jetty see the porting to jetty section under quickstart at http://wiki.eclipse.org/Jetty
        Hide
        Dennis Kieselhorst added a comment -

        Short hint in the doc for the plugin (http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin) would be fine.

        Package name changes but Maven's groupId is still org.mortbay.jetty. Does it make sense?

        Show
        Dennis Kieselhorst added a comment - Short hint in the doc for the plugin ( http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin ) would be fine. Package name changes but Maven's groupId is still org.mortbay.jetty. Does it make sense?
        Hide
        Tomas Varaneckas added a comment -

        the correct class is "org.eclipse.jetty.server.nio.SelectChannelConnector"

        Show
        Tomas Varaneckas added a comment - the correct class is "org.eclipse.jetty.server.nio.SelectChannelConnector"

          People

          • Assignee:
            Unassigned
            Reporter:
            Dennis Kieselhorst
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: