6.13.0 has the same error in the log, but cdi works fine. I think it's only 
trying to tell that injection of the servlet components is not available, 
something we don't need for the examples.

On Wednesday 12 February 2014 14:00:13 Martin Grigorov wrote:
> Hi,
> 
> While testing 6.14.0 I've hit this error when trying to run the examples
> with 'mvn jetty:run':
> 
> ERROR - JettyContainer             - Unable to create JettyWeldInjector.
> CDI injection will not be available in Servlets, Filters or Listeners
> java.lang.IllegalArgumentException: Cannot load class for
> org.jboss.weld.environment.jetty.WeldDecorator
> at
> 
org.jboss.weld.environment.servlet.util.Reflections.classForName(Reflection
s
> .java:62) at
> org.jboss.weld.environment.jetty.JettyContainer.initialize(JettyContainer.ja
> va:68) at
> 
org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java
> :150) at
> 
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandle
r.
> java:733) at
> 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContext
H
> andler.java:233) at
> 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1222)
> at
> 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java
:
> 676) at
> 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455) 
at
> 
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.ja
va:
> 256) at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.j
> ava:59) at
> 
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection
> .java:224) at
> 
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextH
an
> dlerCollection.java:167) at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.j
> ava:59) at
> 
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection
> .java:224) at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.j
> ava:59) at
> 
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.ja
va:
> 90) at org.eclipse.jetty.server.Server.doStart(Server.java:260)
>  at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.j
> ava:59) at
> 
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java
> :511) at
> 
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:3
6
> 4) at 
org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:516)
> at
> 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultB
uildPl
> uginManager.java:106) at
> 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:2
> 08) at
> 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:1
> 53) at
> 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:1
> 45) at
> 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
> cycleModuleBuilder.java:84) at
> 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
> cycleModuleBuilder.java:59) at
> 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lif
> ecycleStarter.java:183) at
> 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarte
> r.java:161) at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:57
> ) at
> 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl
> .java:43) at java.lang.reflect.Method.invoke(Method.java:606)
>  at
> 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.ja
> va:289) at
> 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
229)
>  at
> 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Lau
ncher.

Reply via email to