Jetty Plugin failing due to ClassNotFoundException


(Angel Villalain) #1

I decided to give Gradle 1.10 a try, and been trying to setup a small webapp and use the jetty gradle plugin. Currently the jettyRun task seems to be failing, (I don’t see any output on the console). I started debugging it and find out a ClassNotFoundException related to the following class org.mortbay.io.nio.SelectChannelEndPoint$IdleTask. And thats about it.

I could paste the gradle build file but the file is mostly the dependencies and the set of apply plugins (java, war, jetty). I am sure the project builds because I deployed the generated war file in tomcat and jetty, and it was working perfectly. So I am clueless about what else to do…