• Compile Errors

    By John Q Parker 1 decade ago

    I am able to use JavaCharts on one machine, the project builds and runs OK. When I use another PC to open and rebuild the project, I get a ton of java errors, such as:

     

    Axis cannot be resolved to a type Common.java mydemo.nsf/Code/Java/org/openntf/javacharts line 829 Java Problem
    
    CategoryDataset cannot be resolved to a type Common.java mydemo.nsf/Code/Java/org/openntf/javacharts line 456 Java Problem
    
    CategoryItemLabelGenerator cannot be resolved to a type Common.java mydemo.nsf/Code/Java/org/openntf/javacharts line 448 Java Problem
    
    <p>
        &nbsp;</p>
    
        What&#39;s really strange is that I am able to clean, build, and run the provided demo chart apps in the same designer client, local or on the server.</div>
    <p>
        If I go to the good client and clean and rebuild, the mydemo works fine locally or on the server.</p>
    <p>
        Ideas? Suggestions?</p>
    
        &nbsp;</div>
    

  • Response

    By Naveen Maurya 1 decade ago

    Lately I have been getting the same errors while developing. The errors indicate that some how Domino Designer is not able to find the JARs (as those as the classes of JFreeChart). But in my case this error always goes away when I do "Project > Clean". Its very hard to say why this does not work in your 'bad' machine, you could probably try removing and adding the JARs again to the database to check if they work.

    Regards,

    Naveen

    • Java Build Path

      By John Q Parker 1 decade ago

      It seems in the java build path, the libraries list  keeps getting reset somehow... the added jars have disappeared from the list. At least I know what to check now...

      • Thanks

        By Naveen Maurya 1 decade ago

        Thanks for sharing the cause of this issue. Smile

        Regards,

        Naveen