NoSuchMethodError

Help
Kief4153
2006-08-24
2013-01-13
  • Kief4153
    Kief4153
    2006-08-24

    Hi Everyone,

    I'm trying to get the cewolf tutorial to work, but everytime I go to my page, I get the following error:
    ...
    java.lang.NoSuchMethodError: org.jfree.chart.ChartFactory.createLineChart...

    I'm using JBoss 3.2.3 with Struts 1.2.8.

    I'd really appreciate any advice.

    Thanks.

     
    • Zoltan Luspai
      Zoltan Luspai
      2006-08-27

      Hi,

      I think jboss 3 uses an old jfreechart jar in its console application. Because that is loaded by a higher level class loader it will be used instead of the newer jar in cewolfexample app. So what you should figure out how to configure jboss to do better isolation of cewolf war. I can not help with this now, but let's know if/how you've fixed this.
      Zoltan

       
    • Kief4153
      Kief4153
      2006-08-28

      Hi,

      Thanks for responding.

      I've upgraded to JBOSS 4 and that seemed to have solved my problem.