When using Vaadin plug-in with Eclipse and having Vaadin 7 application, you might stumble upon the somewhat cryptic error

[code]Error instantiating servlet class com.vaadin.server.VaadinServlet[/code]

when trying to debug or run an application on a server (which was Tomcat in my case). Or the error is quite clear, that the servlet class cannot be found, but at least the reason is a bit harder.

The solution to this is to make sure the Ivy libraries are also included in the assembly that is deployed to the server. This you can do by right clicking your project and selecting

  1. Preferences
  2. Deployment assembly
  3. Add..
  4. Java Build Path entries
  5. Selecting "ivy.xml"
  6. Finish
  7. Redeploy/restart server

Hopefully this helps you move forwards with your project.

Moving to Jekyll!

I have been running this site on top of [Drupal][drupal], because I felt that platform would be awesome to build something on top of. Tha...… Continue reading

Setup own Trac on Kapsi server

Published on April 26, 2010