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
- Deployment assembly
- Java Build Path entries
- Selecting "ivy.xml"
- Redeploy/restart server
Hopefully this helps you move forwards with your project.