May be you are using a incompatible version of java. Ex if u r using weblogic 8.1 then you should use jdk 1.4 and not java 5. Even if you are using jdk5, you have option to set the "Compiler Complience Level" in eclipse (if u r using eclipse).
Congratz you just bumped 2 years old thread and added no valuable contribution. Sorry...
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
Offline 6,659 posts
since Dec 2004