(Tomcat 5.5.x) java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener

Or java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener for that matter. NoClassDefFoundError on HttpSessionListener , ServletListener , ServletContextListener, etc. can be caused by a custom classloader like Sysdeo DevLoader (I use it with Eclipse) in you Context definition in the Tomcat’s server.xml file. <Loader classname="org.apache.catalina.loader.DevLoader" reloadable="true" debug="1" /> the solution: add useSystemClassLoaderAsParent="false" to the Loader <Loader classname="org.apache.catalina.loader.DevLoader" reloadable="true" debug="1" useSystemClassLoaderAsParent="false"/> This should do the trick. More information here and here

April 13, 2007

Using GroovyMonkey to obtain all eclipse icons 2

I’ve been playing with GroovyMonkey that is more or less a patch to EclipseMonkey that allows to run other languages besides Javascript. With this Eclipse plugin you can run javascript, groovy, etc. scripts that interacts with the Eclipse API. To get an impression of what you can do with GroovyMonkey take a look to these posts (1, 2, 3, 4 ). Following those post you can make a script to download all eclipse icons from the eclipse repository. My first GroovyMonkey script generates a webpage with all eclipse icons (previously downloaded with the example scripts) to easily spot the icons. ...

September 25, 2006

Welcome to Eclipse on Swing

Interesting project Welcome to Eclipse on Swing

August 29, 2006

Useful resources to Eclipse Plugin Development

If you are new to Eclipse Plugin Development like me, you must now that in the Eclipsepedia you can find very useful code snippets like How to write to the eclipse console view from a plugin. The best way to find information there is to use google query like site:wiki.eclipse.org console write

August 24, 2006