Jan 15 2011
Eclipse, Tomcat, Vaadin
Just in case you run in the same problem, I want to share this with you.
Let’s start from the beginning.
I started playing with Vaadin and decided to use Eclipse. Actually, is there a real alternative?
So I setup a data access Java project and started playing with hibernate. Then I created the Vaadin project. It seemed quite easy, I had to add the data access project to the build path and I could use the classes in my web project. The problem came out at the first run: java.lang.ClassNotFoundException.
I searched all the web for a solution to this, but could not find a real one. I don’t know if it’s a problem related to my config or if you always have to do this. The solution I found was to go into the Vaadin project properties, click on Deployment assembly, and then click add, the project, select the data access project, and that’s it!
It seems this options creates a .jar file from the project and puts it into the /WEB-INF/lib folder, where Tomcat can find it.
Hope this helps someone out there!


Default
Small Fonts
Big Fonts