weblogic报错 原因是jdk版本不兼容 我用的是weblogic9 jdk1.5 但在myeclipse中该工程默认的jdk1.6 作如下修改 进到当前工程的属性后,选择"Java Compiler"进去后将"Compiler Compliance level"改成当前jdk的版本