Fórum

error creating liferay plugin project

kavya m, modificado 7 Anos atrás.

error creating liferay plugin project

New Member Postagens: 15 Data de Entrada: 08/07/16 Postagens Recentes
Hi All,
Iam new to Liferay, when i create a new liferay plugin project on Eclipse Kepler with Liferay Plugins SDK 6.2. I got Error message. I have tried with jdk 7 & 8 versions. Still it showing same issue. Please help me.

Error Message: Error creating Liferay plugin project. Please see eclipse error log for more details.

Error log details:
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Error
Tue Aug 02 11:41:55 IST 2016
C:\Program Files\liferay-plugins-sdk-6.2\build.dell.properties (Access is denied)

java.io.FileNotFoundException: C:\Program Files\liferay-plugins-sdk-6.2\build.dell.properties (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.liferay.ide.sdk.core.SDK.persistAppServerProperties(SDK.java:762)
at com.liferay.ide.sdk.core.SDK.createNewPortletProject(SDK.java:437)
at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:113)
at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:102)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:352)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:314)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Error
Tue Aug 02 11:41:55 IST 2016
Error creating Liferay plugin project.

java.lang.NullPointerException
at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:161)
at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:102)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:352)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:314)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Info
Tue Aug 02 11:40:43 IST 2016
IvyDE plugin started
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Info
Tue Aug 02 11:40:43 IST 2016
starting IvyDE plugin

Thanks All in Advance
thumbnail
Andy Wu, modificado 7 Anos atrás.

RE: error creating liferay plugin project

Regular Member Postagens: 195 Data de Entrada: 05/05/15 Postagens Recentes
hey kayva , maybe you should configure your sdk first , create a build.{user.home}.properties file at root of sdk folder and add a propertiy pointing to your local liferay server.
here is my configuration for your reference:
file name: build.liferay.properties
content:
app.server.parent.dir=D:/dev java/portal/liferay-ce-portal-7.0-ga2