Friday, 15 April 2011

java - Cannot create Liferay plugin project -



java - Cannot create Liferay plugin project -

i'm new liferay's universe, i'm trying create portlet eclipse throws error :

error creating liferay plugin project, please see eclipse error log more details.

i checked .log file :

!entry com.liferay.ide.project.core 4 0 2014-06-21 23:56:42.463 !message error creating liferay plugin project. !stack 1 org.eclipse.core.runtime.coreexception: 1 or more constraints have not been satisfied. @ (......) !message 1 or more constraints have not been satisfied. !stack 1 org.eclipse.core.runtime.coreexception: 1 or more constraints have not been satisfied. @ (......) contains: liferay portlet 6.0 requires java 1.5 or newer. contains: dynamic web module 3.0 requires java 1.6 or newer. !subentry 2 org.eclipse.wst.common.project.facet.core 4 0 2014-06-21 23:56:42.465 !message 1 or more constraints have not been satisfied. !subentry 3 org.eclipse.wst.common.project.facet.core 4 0 2014-06-21 23:56:42.465 !message liferay portlet 6.0 requires java 1.5 or newer. !subentry 3 org.eclipse.wst.common.project.facet.core 4 0 2014-06-21 23:56:42.465 !message dynamic web module 3.0 requires java 1.6 or newer.

i'm using java 1.7 (tried 1.8), don't understand error might come from. here configuration :

-eclipse kepler -tomcat 7 (liferay 6.2 ce) -java 1.7 / 1.8

thanks help guys :)

i haven't seen problem ever. might want check if eclipse knows jre you're working - note there's difference between jre eclipse runs on vs. jre/jdk you're using projects. you'll find project's jre in preferences dialog (just filter jre) , check if jre you're referencing there indeed exist.

i have seen similar (but not same) puzzling behaviour when java update removed old directory , installed different directory. happens when directory in question contains version numbers/patch levels jre.

java eclipse liferay liferay-6 liferay-ide

No comments:

Post a Comment