Hi Dinusha, AFAIK debugging Jaggery in Eclipse has some known issues. I suggest to use the exact versions of jars as specified in the documentation [1]. Also, you can try to debug Jaggery in IntelliJ IDEA by using this [2] plugin.
[1] http://jaggeryjs.org/debugger.jag [2] https://plugins.jetbrains.com/plugin/1613?pr= Thanks. On Thu, Jun 25, 2015 at 12:09 PM, Dinusha Boteju <[email protected]> wrote: > Hi, > > I'm trying to debug a jaggery app by following the instruction given in > [1]. I followed all the steps mentioned in [1]. However, when I start the > jaggery server in debug mode and browse a deployed application I'm getting > following error in the browser; > > *exception* > > javax.servlet.ServletException: Filter execution threw an exception > > *root cause* > > java.lang.NoClassDefFoundError: Could not initialize class > org.jaggeryjs.jaggery.core.manager.WebAppManager > org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:17) > > I'm pretty sure I followed the instructions correctly. Only difference is > the versions of the 2 jar files which I copied from eclipse/plugins folder > to JAGGERY_HOME/carbon/repository/components/dropins folder. How can I > resolve this? > > [1] - http://jaggeryjs.org/debugger.jag > > Thanks, > Dinusha > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Sajith Ariyarathna Software Engineer; WSO2, Inc.; http://wso2.com/ mobile: +94 77 6602284, +94 71 3951048
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
