From what I am looking at, it is a Java 8 bug, so in the meantime, a hackish workaround can be eval-ing the package with the dot notation
e.g.
eval("Packages.org.bukkit."+"event.server"); //or whatever variable it may be
EDIT
The bug has been fixed, so it should work now.