留言板

App.server.dir is invalid, please reconfigure Plugins SDK settings

thumbnail
Jobin Mathew,修改在6 年前。

App.server.dir is invalid, please reconfigure Plugins SDK settings

Junior Member 帖子: 77 加入日期: 14-7-4 最近的帖子
Hi,
I am trying to upgrade my Liferay 6.2 project to 7 using Liferay code upgrade Tool.
but i am getting the error as
App.server.dir is invalid, please reconfigure Plugins SDK setting: app server dir=E:\...


I am using Eclipse Neon.3 +Liferay IDE 3.1.0 B1

is there anything to be changed in the build.properties?

Please help.

Thanks,
Jobin
thumbnail
Ying Xu,修改在6 年前。

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

New Member 帖子: 2 加入日期: 13-10-17 最近的帖子
Hello Jobin,
I suggest you could check this one "app.server.tomcat.dir=${app.server.parent.dir}/tomcat-*** " in build.properties file, if it is different with your tomcat version, you could config "app.server.tomcat.dir" in your build.${username}.properties file or change tomcat version in build.properties file.

If you still have problem, please feel free ask.

Ying.
thumbnail
Jobin Mathew,修改在6 年前。

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

Junior Member 帖子: 77 加入日期: 14-7-4 最近的帖子
Ying Xu:

I suggest you could check this one "app.server.tomcat.dir=${app.server.parent.dir}/tomcat-*** " in build.properties file, if it is different with your tomcat version, you could config "app.server.tomcat.dir" in your build.${username}.properties file or change tomcat version in build.properties file.

Ying.




Thanks a lot Ying Xu,

i corrected my build.${username}.properties file and running fine now.
Ashu Phaugat,修改在6 年前。

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

New Member 发布: 1 加入日期: 17-7-29 最近的帖子
Hi Ying Xu,

I'm also facing same problem,
App.server.dir is invalid, please reconfigure Plugins SDK setting: app server dir=E:\...
.
1) Plugin folder: ../com.liferay.portal.plugins.sdk-1.0.11
In plugin folder I have only one property files i.e., build.properties and the entry of app.server is like below:
app.server.tomcat.dir=${app.server.parent.dir}/tomcat-8.0.32


2) In liferay portal folder, tomcat version is same, see below:
D:\Softwares\Liferay\liferay-ce-portal-7.0-ga4\tomcat-8.0.32

But still I'm facing same problem
App.server.dir is invalid, please reconfigure Plugins SDK setting: app server dir=E:\...


Could you please help here.

Thanks,
Ashu Phaugat
thumbnail
Joye Luo,修改在6 年前。

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

Regular Member 帖子: 144 加入日期: 16-5-3 最近的帖子
Hey Ashu,

You said that "In plugin folder I have only one property files i.e., build.properties ". That's right. The build.${usename}.properties file is created by user. For me, the user name of my computer is liferay, and then I create a file named build.liferay.properties.
And following is my file content:
app.server.type = tomcat
app.server.parent.dir = F:/liferay-bundle/liferay-ce-portal-7.0-ga2
app.server.tomcat.dir = ${app.server.parent.dir}/tomcat-8.0.32

Hope thatt can work for u.