6 Replies Last post: Mar 10, 2014 6:07 PM by Alex Erm  
Eric Hubbard Newbie 16 posts since
Sep 8, 2008
Currently Being Moderated

Dec 30, 2013 9:00 AM

UnsupportedClassVersionError: com/google/apphosting/runtime/security/WhiteList : Unsupported major.minor version 51.0: com/google/apphosting/runtime/security/WhiteList

--- So at one point I had java 1.8 in use on this project file of mine.  I then removed java 1.8... going back to 1.7... and then added some google app engine stuff.  Anyway -- I now get this error above in my event log very very frequently.   Normally I'd just ignore it -- but I think that some other features are not being run -- because the thread that is getting that exception is bailing.  (most notably I seem to have out of date and obviosuly wrong inspection results frequently).... 

 

Anyway -- what is the best way to track down the 1.8 portion of the project file that is lingering around?  I've gone through all of the modules and made sure theya reusing the same version of java as the root project.. which is set to 1.7..  I've invalided caches and restarted...hmmm.. any other ideas?

Pavel Sher JetBrains 2,336 posts since
Mar 6, 2008

Do you see this error on TeamCity or in IntelliJ IDEA? In case of TeamCity as with any other CI server it is recommended to run some cleanup task before any other tasks in your build are performed. Chances are you have some class file left on the agent which was compiled under Java 1.8 and for some reason it is not re-compiled again in your build.

kctang Newbie 4 posts since
Apr 2, 2005

Thanks for this tip! Helpful to avoid seeing hundreds of IntelliJ errors over short period of time. I will disable whitelist class for now and leave the inspection to "myself" during coding...until this issue is resolved at least.

Alex Erm Newbie 3 posts since
Apr 22, 2013

+1: I am waiting for a solution as well - I have the same error:

14:01:55 UnsupportedClassVersionError: com/google/apphosting/runtime/security/WhiteList : Unsupported major.minor version 51.0: com/google/apphosting/runtime/security/WhiteList : Unsupported major.minor version 51.0

More Like This

  • Retrieving data ...