Hi, Kevin For #2 Idea deals differently from eclipse with PROVIDED dependency in pom.xml.(which is provided really means) As a workaround to run DebugTomcat locally, you can modify the iml(idea project file) file, replace all ‘provided’ with ‘compile’.
Best Regard Zhou QianHao On 3/18/15, 2:50 PM, "hongbin ma" <[email protected]> wrote: >if you're just trying out please use our binary snapshot: >http://kylin.incubator.apache.org/download/kylin-0.7.1-SNAPSHOT.tgz and >follow: >https://github.com/KylinOLAP/Kylin/blob/master/docs/Installation/install_a >nd_run.md > >On Tue, Mar 17, 2015 at 11:40 PM, Kevin (ケビン) <[email protected]> >wrote: > >> Hi, >> >> I followed "Off Hadoop CLI Installation" tutorial to set up the >>development >> environment, but when hitting the last step " launch >> com.kylinolap.rest.DebugTomcat with specifying VM arguments >> -Dspring.profiles.active=sandbox", I got some problems: >> >> 1. I suppose the latest class name should >> be org.apache.kylin.rest.DebugTomcat instead; >> >> 2. I am using intelliJ as the IDE under Windows 7, but when running the >> class, I got this exception: >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/catalina/LifecycleListener >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:190) >> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:116) >> Caused by: java.lang.ClassNotFoundException: >> org.apache.catalina.LifecycleListener >> 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 >> >> Compiling succeeded and the maven library tomcat-catalina-7.0.52.jar >> exists. I have spent two hours trying to figure out a solution, but >>still >> cannot get it. Any one can offer a hand? >> >> Thanks >> >> -- >> *――――――――――――――――――――* >> Simplex Inc. >> Capital Market Solution Group >> Lei Wang (Kevin) >> >> 18F Toranomon Hills Mori Tower 1-23-1 >> Toranomon, Minato-ku, Tokyo 105-6319 JAPAN >> >> Email [email protected] <[email protected]> >> *――――――――――――――――――――* >> > > > >-- >Regards, > >*Bin Mahone | 马洪宾* >Apache Kylin: http://kylin.io >Github: https://github.com/binmahone
