java.lang.UnsupportedClassVersionError: com/liferay/portal/spring/context/PortalContextLoaderListener : Unsupported major.minor version 51.0 (unable to load class com.liferay.portal.spring.context.PortalContextLoaderListener)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Liferay Issues by Bejond Shao, 1 year ago
com/liferay/portal/spring/context/PortalContextLoaderListener : Unsupported major.minor version 51.0 (unable to load class com.liferay.portal.spring.context.PortalContextLoaderListener)
via Stack Overflow by ANILBABU
, 2 years ago
/servlets/LoggingFilter : Unsupported major.minor version 51.0 (unable to load class tcs.AnilProject.servlets.LoggingFilter)
via Stack Overflow by user1383163
, 2 years ago
com/blackwell/app/WicketFilter : Unsupported major.minor version 51.0 (unable to load class com.blackwell.app.WicketFilter)
via GitHub by snallami
, 1 year ago
com/amazonaws/services/kinesis/clientlibrary/interfaces/IRecordProcessorFactory : Unsupported major.minor version 52.0 (unable to load class com.amazonaws.services.kinesis.clientlibrary.interfaces.IRecordProcessorFactory)
via Stack Overflow by crash
, 1 year ago
org/apache/solr/servlet/SolrDispatchFilter : Unsupported major.minor version 52.0 (unable to load class org.apache.solr.servlet.SolrDispatchFilter)
via docx4java.org by Unknown author, 2 years ago
Bad version number in .class file (unable to load class com.sun.istack.FinalArrayList)
java.lang.UnsupportedClassVersionError: com/liferay/portal/spring/context/PortalContextLoaderListener : Unsupported major.minor version 51.0 (unable to load class com.liferay.portal.spring.context.PortalContextLoaderListener)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2899)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.