最近在搞owl-s的东西,其中遇到了enum出错的问题,实际上在eclipse下,enum被当作关键字,需要用jdk1.4下的constants 代替,即将import org.apache.axis.enum.*;换成import org.apache.axis.constants.*;就可以了