[Mapserver-users] Mapscript Java Compilation Problems

Satheesh Mani smani at izarinc.com
Thu Dec 18 09:31:06 PST 2003


Hello all,

Im getting the following compilation errors while doing the Java Compile
for
SWIG generated java files.(Using MapServer4.0.1, SWIG-1.3.20, Java
1.4.2)


./mapscript/outputFormatObj.java:134: setExtension(java.lang.String) is
already
defined in mapscript.outputFormatObj
  public void setExtension(String extension) {
              ^
./mapscript/outputFormatObj.java:138: setMimetype(java.lang.String) is
already defined in mapscript.outputFormatObj
  public void setMimetype(String mimetype) {
              ^
./mapscript/mapObj.java:299: clone() in mapscript.mapObj cannot override
clone() in java.lang.Object; attempting to use incompatible return type
found   : mapscript.mapObj
required: java.lang.Object
  public mapObj clone() {
                ^
3 errors


Please help.

Thanks
Satheesh





More information about the MapServer-users mailing list