Both JBI and the GlassFish support for JBI are still under active development, and the administrative interfaces between JBI and GlassFish can and do change so the source will not compile with the wrong versions of the JBI .jar files.
I'm not sure exactly what it is you are trying to do, and I'm not sure which versions you are working with (nor can I tell when/where you are getting a compilation error).
If you are compiling the current GlassFish v2 trunk (FCS) and following the build procedures, you may need to do a "maven bootstrap-all" to download newer JBI adminstration and runtime .jar files. I'm not sure what the SDK has to do with this, or what you are compiling when you get this error.
If you are compiling the current GlassFish v2 Beta 2 branch, you may also need to do a "maven bootstrap-all" to download the corresponding JBI jars (which should be more stable than the trunk (FCS) jars; the trunk JBI jars will not attempt to maintain compatibility with the beta2 version of GlassFish, so you cannot just interchange them.
Perhaps you need to do a version checkout of the GlassFish v2 trunk (FCS) source that matches the SDK you are using? Can you look at the timestamps or SDK version information to determine which date to use when checking out the GlassFish source and try that? (again using a bootstrap-all to pick up the correct version of the .jar files you need to compile and run that version of GlassFish.)
[Message sent by forum member 'mike_wright' (mike_wright)]
http://forums.java.net/jive/thread.jspa?messageID=211061