Getting a NoClassDefFoundError after installing Vaadin

牧云@^-^@ 提交于 2019-12-05 16:43:17

On stackoverflow there are many questions and more answers about this error exception.

Have a look at this good webpage: http://javareferencegv.blogspot.ch/2013/10/debugging-javalangnoclassdeffounderror.html

One thing is that in the web-app's WEB-INF/lib folder, there are no jars.

This is a good point to start.

In eclipse have a look at your project properties. There is a point called "Deployment Assembly" which should contain at least these two entries:

/src          -> WEB-INF/classes
/WebContent   -> /

Moreover you must add your project to the tomcat server instance.

https://vaadin.com/forum/message/2534863

What you can do is

1) Right-Click the project and Select properties 2) Select Deployment Assembly 3) Click Add 4) Choose the Java Build Path Entries 5) Adde the ivy library.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!