Dibyendu, I just pulled the latest from master and ran mvn clean install -DskipTests -Dhadoop1 and the resulting bin tarball in the distribution/target folder contains all of the jetty libs that are needed. Were you using a clean local maven repository or the same one you have had for a while now? We recently changed all of the jetty versions so I may have something in my repo that you are missing. When I get a chance I will try to start with a clean local repo and see if I can reproduce this problem.
Chris On Thu Dec 18 2014 at 6:28:53 AM Chris Rohr <[email protected]> wrote: > Great thank you. I will take a look today. > On Thu, Dec 18, 2014 at 5:53 AM Dibyendu Bhattacharya < > [email protected]> wrote: > >> Hi, >> >> I did "mvn install -DskipTests -Dhadoop1" to build Blur. >> >> Dibyendu >> >> On Thu, Dec 18, 2014 at 4:15 PM, Chris Rohr <[email protected]> wrote: >> > >> > Dibyendu, >> > >> > Thank you for the heads up. To make it easier to track, which profile >> did >> > you use to build blur? >> > >> > Thanks, >> > Chris >> > On Thu, Dec 18, 2014 at 4:24 AM Dibyendu Bhattacharya < >> > [email protected]> wrote: >> > >> > > Hi, >> > > >> > > I have downloaded latest Blur 0.2.4 today and I found Controller >> server >> > is >> > > not starting and I can see below log trace.. >> > > >> > > java.lang.NoClassDefFoundError: javax/servlet/HttpConstraintElement >> > > at >> > > org.apache.blur.gui.HttpJettyServer.<init>(HttpJettyServer.java:57) >> > > at >> > > org.apache.blur.thrift.ThriftBlurControllerServer.createServer( >> > > ThriftBlurControllerServer.java:218) >> > > at >> > > org.apache.blur.thrift.ThriftBlurControllerServer.main( >> > > ThriftBlurControllerServer.java:96) >> > > Caused by: java.lang.ClassNotFoundException: >> > > javax.servlet.HttpConstraintElement >> > > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >> > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >> > > at java.security.AccessController.doPrivileged(Native Method) >> > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >> > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: >> 308) >> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >> > > ... 3 more >> > > >> > > >> > > >> > > This is because the servlet-api jar file is missing in lib folder. I >> > > manually copied the servlet-api jar and then controller is getting >> > started. >> > > >> > > You may need to modify the pom file to fix this issue. >> > > >> > > Regards, >> > > Dibyendu >> > > >> > >> >
