[class] is public, should be declared in a file named [class.java]
807603Dec 6 2007 — edited Dec 6 2007Hi there,
I'm using an java-agent in LotusNotes 7.0.2 to communicate with a WebService. This agent contains a AXIS (1.2.1)-generated JAR-file (based upon the webservices' WSDL-file) which holds the WebService-stubs, -ports etc.. I just rebuilt the JAR using the latest WSDL and imported it into the Notes-agent. Save the agent brings up following message
"d:\temp\notes\jar49773.jar(de/kqv/wekservice/VermittlerWacServiceLocator.java):10: class VermittlerWacServiceLocator is public, should be declared in a file named VermittlerWacServiceLocator.java"
(Line 10 is: "import de.kqv.www.wekservice.VermittlerWacServiceLocator;")
For I'm quite a java-noob, I googled and found that "Any public java class must be declared in a file with the same name, so the class [class] must be declared in the file [class].java".
Well, my class' name is "VermittlerWacServiceLocator" and the file's name within the JAR-file is "VermittlerWacServiceLocator.java".
Can anyone enlight me...?
Thanks in advance,
Buzzy