From: Dirk S. <di...@tb...> - 2004-10-25 09:54:13
|
Problem solved by explicitly making a public class Model. -----Original Message----- From: dso...@li... [mailto:dso...@li...]On Behalf Of Dirk Samson Sent: maandag 25 oktober 2004 11:21 To: Dsol-java (E-mail) Subject: [Dsol-java] can not access a member of class nl ..... Dear java & dsol guru's (1) 11:14:53 AM WARNING: Class nl.tudelft.simulation.xml.dsol.ExperimentParser can not access a member of class nl.tudelft.simulation.sne.c2.ModelSinglePallet with modifiers "public" Origin: nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread#run java.io.IOException: Class nl.tudelft.simulation.xml.dsol.ExperimentParser can not access a member of class nl.tudelft.simulation.sne.c2.ModelSinglePallet with modifiers "public" at nl.tudelft.simulation.xml.dsol.ExperimentParser.parseExperiment(ExperimentPa rser.java:155) at nl.tudelft.simulation.dsol.gui.panels.GUIExperimentParsingThread.run(GUIExpe rimentParsingThread.java:67) So... What does this mean? 1) Making a (deliberate) mistake in the path or name to the model class results in another error 2) with an empty (single line: system.out.println....) constructModel method (yes, public void) the error remains ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |