• Post Reply Bookmark Topic Watch Topic
  • New Topic

Funny things can happen  RSS feed

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have compiled the project without errors. And I have provided the method in the class, and named it public
The auto-complete function sees it. At runtime, it crashes

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.jfree.chart.renderer.category.BarRenderer.setMove(DDIZ)V

 
Paul Clapham
Sheriff
Posts: 22819
43
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That could mean that at runtime you have a different version of that software in your classpath. At compile time your classpath includes a version which has that "setMove" method but at runtime it includes a different version which doesn't have it.
 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:That could mean that at runtime you have a different version of that software in your classpath. At compile time your classpath includes a version which has that "setMove" method but at runtime it includes a different version which doesn't have it.


Yep, I was including the other project and forgot to dump the jar file back to the main project
Thanks
Jack
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!