Forums de discussion

Liferay issue (app.server.dir is invalid)

Aaditya Shrivastava, modifié il y a 6 années.

Liferay issue (app.server.dir is invalid)

New Member Publications: 2 Date d'inscription: 07/11/17 Publications récentes
Hello,
I am working on liferay portal.
There are following errors while i am trying to create a project on Eclipse IDE + Liferay IDE
so please help me to rectify the following errors:

1.) Liferay sdk has not recognized the app.server.dir path from build.{username}.properties. The IDE is showing this message.

app.server.dir is invalid. Please reconfigure Plugins SDK setting:
app.server.dir=D:softwarebundleliferay-ce-portal-tomcat-7.0-ga5-20171018150113838liferay-ce-portal-7.0-ga5/tomcat-8.0.32.

and i have already configured it many times .

2.) Second is IDE have not showing option to Install plug-in sdk for liferay so i have plug-in it manually but it is not working properly.


My tool what i m using :-

IDE = Eclipse Neon 3 with plug in Liferay IDE 3.1.2
SDK = Liferay SDK 7.0 and java SE 8u152
Server = Tomcat 7.0
OS = window 10


What i have done :-
I have already do this with Luna and Indigo but the same error i faced.

So please help me to rectify it.

Thanks and Regards
Aaditya Shrivastava
thumbnail
Olaf Kock, modifié il y a 6 années.

RE: Liferay issue (app.server.dir is invalid)

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
Aaditya Shrivastava:
app.server.dir=D:softwarebundleliferay-ce-portal-tomcat-7.0-ga5-20171018150113838liferay-ce-portal-7.0-ga5/tomcat-8.0.32.


Do you really have a directory with this name?

Try using forward slashes "/" instead of backward slashes "\" in your configuration as a directory separator. Or use double backslashes, as you might run into this character being used as an escape character.
Aaditya Shrivastava, modifié il y a 6 années.

RE: Liferay issue (app.server.dir is invalid)

New Member Publications: 2 Date d'inscription: 07/11/17 Publications récentes
Hello Olaf Kock,

I have already used forward slashes.
Please find attached my build.DESKTOP-D14SV64.properties. where i have followed all guide line of liferay.

please help me out.

Regards
Aaditya shrivastava
thumbnail
Olaf Kock, modifié il y a 6 années.

RE: Liferay issue (app.server.dir is invalid)

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
You say
Aaditya Shrivastava:
I have already used forward slashes.

and then this file
Aaditya Shrivastava:
Please find attached my build.DESKTOP-D14SV64.properties. where i have followed all guide line of liferay.

contains only backslashes...

Do I need to say more?