Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Severe: java.lang.NoClassDefFoundError: com/vaadin/client/renderers/Image
Hello,
When I try to define a Grid I get the runtime error:
Severe: java.lang.NoClassDefFoundError: com/vaadin/client/renderers/ImageRenderer
Below the source code:
Grid grid = new Grid("image grid");
grid.addColumn("image 1", Resource.class);
grid.getColumn("image 1").setRenderer((Renderer<?>) new ImageRenderer());
grid.addColumn("image 2", Resource.class);
grid.getColumn("image 1").setRenderer((Renderer<?>) new ImageRenderer());
What I am doing wrong?
Thanks in advance.
Albert
make sure vaadin-client-x.x is available on your class path.. .
Hi Aziz,
What do you mean with vaadin-client-x.x
I am using Netbeans and test with Glassfish.
Until I started using a Renderer I had not configured anything specific.
In my dependencies com.vaadin.client.renderers is present.
The application compiles without problems.
Where should I add this to the class path.
Actually, I use eclipse and I have to put the vaadin core libraries in my deployment assembly path (class path was wrong) so that libs are available in runtime. That was my proposal.
Generally, NoClassDefFoundError references to a missing lib in your deployment environment.