java.util.ServiceConfigurationError

io.undertow.servlet.ServletExtension: Provider mypackage.MyServletExtension not a subtype

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web241

  • via Stack Overflow by cheb1k4
    ,
  • via Unknown by zakaria amine,
  • Stack trace

    • java.util.ServiceConfigurationError: io.undertow.servlet.ServletExtension: Provider mypackage.MyServletExtension not a subtype at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[rt.jar:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_60] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_60] at org.jboss.threads.JBossThread.run(JBossThread.java:320)[jboss-threads-2.2.0.Final.jar:2.2.0.Final] Caused by: java.util.ServiceConfigurationError: io.undertow.servlet.ServletExtension: Provider mypackage.MyServletExtension not a subtype at java.util.ServiceLoader.fail(ServiceLoader.java:239)[rt.jar:1.8.0_60] at java.util.ServiceLoader.access$300(ServiceLoader.java:185)[rt.jar:1.8.0_60] at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)[rt.jar:1.8.0_60] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)[rt.jar:1.8.0_60] at java.util.ServiceLoader$1.next(ServiceLoader.java:480)[rt.jar:1.8.0_60] at io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:243) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:150) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    HandemelindoHandemelindo
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    82 more bugmates