UnsupportedClassVersionError An unexpected error occured caused by exception UnsupportedClassVersionError: DocViewerPlugin : Unsupported major.minor version 51.0

638 views
Skip to first unread message

Muneeb kiani

unread,
May 31, 2012, 5:20:55 AM5/31/12
to play-framework
i'm using play-1.2.3, i am having exception " @6agjdofnm
Internal Server Error (500) for request GET /

Oops: UnsupportedClassVersionError
An unexpected error occured caused by exception
UnsupportedClassVersionError: DocViewerPlugin : Unsupported
major.minor version 51.0

play.exceptions.UnexpectedException: Unexpected Error
at play.Invoker$Invocation.onException(Invoker.java:232)
at play.Invoker$Invocation.run(Invoker.java:273)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.UnsupportedClassVersionError: DocViewerPlugin :
Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:
148)
at
play.classloading.ApplicationClassloader.loadClass(ApplicationClassloader.java:
84)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at
play.plugins.PluginCollection.reloadApplicationPlugins(PluginCollection.java:
141)
at play.Play.start(Play.java:440)
at play.Play.detectChanges(Play.java:599)
at play.Invoker$Invocation.init(Invoker.java:186)
... 1 more"
when i run my application. everything seems to be good, dont know why
this exception occur.

Nicolas Leroux - committer

unread,
May 31, 2012, 5:26:02 AM5/31/12
to play-fr...@googlegroups.com
Which jdk version are you using? Can you try a play clean?

Muneeb kiani

unread,
May 31, 2012, 5:35:35 AM5/31/12
to play-fr...@googlegroups.com
Thanks Man, Problem has been fixed. i was using jdk-1.7 when i created application. now i'm using jdk-1.6-opensouce. now its working..

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/F1TSXuiZCTMJ.

To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

Reply all
Reply to author
Forward
0 new messages