I am new to Java and I am trying to debug this error message.
Severe: Unable to instantiate edu.cwru.sepia.agent.VisualAgent with arguments [1, 0]. is not a valid XML configuration file.
java.lang.NoSuchMethodException: edu.cwru.sepia.agent.visual.VisualAgent.(int)
I have a jar file called Sepia.jar with a main class that opens a GUI with parameters from ResourceCollectionConfig.xml.
I use the command java -cp lib/Sepia.jar edu.cwru.sepia.Main2 data/ResourceCollectionConfig.xml to run the main class.
When I run it on my ubuntu desktop, runs with no issues. Same file on a different ubuntu machine with same Java SDK throws this error. What am I missing? I checked the encoding of XML file it is UTF-8. Any help would be appreciated!
Thanks!