该项目右键——>buildPath——>configure Build Path——>Libraries——>双击JRE System Library——>选Alternate JRE——>finish——>apply