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

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

  •  20-07-2023
  •  | 
  •  

문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top