IntelliJ 8.1.3 Jetty 7.0.0

Hi,

I recently upgraded to intellij 8.1.3 and noticed that jetty has been automatically upgraded it jetty 7.0.0 though i didnt see any documentation as such.
Worse thing is now i cannot run my web application on jetty (fails with below error) - not sure where the issue or workaround for it is... My pom files still refer to jetty 6.1.14.




[INFO] Starting jetty 7.0.0.M4 ...
2009-07-16 15:55:50.193::INFO:  jetty-7.0.0.M4
2009-07-16 15:55:56.659::WARN:  Failed startup of context JettyWebAppContext@d6a9a4@d6a9a4/,
java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:347)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:300)
at org.eclipse.jetty.util.Loader.loadClass(Loader.java:90)
at org.eclipse.jetty.xml.XmlConfiguration.nodeClass(XmlConfiguration.java:223)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:186)
at org.eclipse.jetty.plus.webapp.EnvConfiguration.configure(EnvConfiguration.java:97)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:920)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:345)
at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:89)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:164)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:164)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
at org.eclipse.jetty.server.Server.doStart(Server.java:225)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:69)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:423)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:366)
at org.mortbay.jetty.plugin.JettyRunWarExplodedMojo.execute(JettyRunWarExplodedMojo.java:170)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
2009-07-16 15:55:57.175::INFO:  Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server



2 comments
Comment actions Permalink

Hello rams,

IntelliJ IDEA doesn't have any bundled support for Jetty. Please report the
problem to the developer of the third-party Jetty plugin.

I recently upgraded to intellij 8.1.3 and noticed that jetty has been
automatically upgraded it jetty 7.0.0 though i didnt see any
documentation as such.

Worse thing is now i cannot run my web application on jetty (fails
with below error) - not sure where the issue or workaround for it
is... My pom files still refer to jetty 6.1.14.

Starting jetty 7.0.0.M4 ...

2009-07-16 15:55:50.193::INFO: jetty-7.0.0.M4

2009-07-16 15:55:56.659::WARN: Failed startup of context
JettyWebAppContext@d6a9a4@d6a9a4/,

java.lang.ClassNotFoundException:
org.mortbay.jetty.webapp.WebAppContext

at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLo
ader.java:195)

at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm
.java:255)

at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm
.java:274)

at
org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.j
ava:214)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader
.java:347)

at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader
.java:300)

at org.eclipse.jetty.util.Loader.loadClass(Loader.java:90)

at
org.eclipse.jetty.xml.XmlConfiguration.nodeClass(XmlConfiguration.java
:223)

at
org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java
:186)

at
org.eclipse.jetty.plus.webapp.EnvConfiguration.configure(EnvConfigurat
ion.java:97)

at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java
:920)

at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler
.java:584)

at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:345)

at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext
.java:89)

at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeC
ycle.java:56)

at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerColl
ection.java:164)

at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(Cont
extHandlerCollection.java:161)

at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeC
ycle.java:56)

at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerColl
ection.java:164)

at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeC
ycle.java:56)

at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper
.java:92)

at org.eclipse.jetty.server.Server.doStart(Server.java:225)

at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:69)

at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeC
ycle.java:56)

at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMoj
o.java:423)

at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.j
ava:366)

at
org.mortbay.jetty.plugin.JettyRunWarExplodedMojo.execute(JettyRunWarEx
plodedMojo.java:170)

at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin
Manager.java:453)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
ltLifecycleExecutor.java:559)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneG
oal(DefaultLifecycleExecutor.java:513)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
tLifecycleExecutor.java:483)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
leFailures(DefaultLifecycleExecutor.java:331)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
s(DefaultLifecycleExecutor.java:292)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
ecycleExecutor.java:142)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

2009-07-16 15:55:57.175::INFO: Started
SelectChannelConnector@0.0.0.0:8080

Started Jetty Server

---
Original message URL:
http://www.jetbrains.net/devnet/message/5241952#5241952

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

On Tue, 21 Jul 2009 08:28:25 +0000, Dmitry Jemerov wrote:

Hi Dmitry,

IntelliJ IDEA doesn't have any bundled support for Jetty. Please report
the problem to the developer of the third-party Jetty plugin.


That would be the third-party Maven Jetty Plugin and not the third-party
Jetty Integration (for IDEA) plug-in, right? :)

--
Mark Scott
mark@codebrewer.com

0

Please sign in to leave a comment.