java - i have loaded liferay in eclipse while deploying err msg -


i'm new liferay.

i've added liferay eclipse java ee ide : version: indigo service release 2: liferay tomcat server

liferay home page opened up... i've created new portlet in liferay print " hello" portlet name: " portel_exp1 "

but via deploying portlet i've got err msg given below....

build failed f:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:651:  following error occurred while executing line: f:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common.xml:95: java.lang.unsupportedclassversionerror: com/sun/tools/javac/main :    unsupported major.minor version 51.0 

to compile new version (in eclipse)

go window -> preferences -> java - > inside java select compiler - > check compiler compliance level(select appropriate level i.e 1.6) 

hth


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -