Getting a class not found error on org/jdesktop/swingx/plaf/ComponentAddon

StackOverflow https://stackoverflow.com/questions/23607433

  •  20-07-2023
  •  | 
  •  

Pergunta

I added my first swingX component (a JXTable) to my project, hoping to enjoy its extended features.

After a lot of searching I found the swingX 1.6.5-1 jar here.

The imports work fine and I don't have any compilation errors. However, runtime instantiation of the JXtable throws a "java.lang.NoClassDefFoundError: org/jdesktop/swingx/plaf/ComponentAddon" error.

I'm using Eclipse Kepler on a windows 8.1 machine with JDK 1.6.0.38 as the project builder.

Your ideas are appreciated.

Thanks

Foi útil?

Solução

Turns out I downloaded the wrong jar. Shouldv'e downloaded swingx-all.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top