留言板

Unable to deploy module in Liferay 7.

Thirumal Reddy,修改在7 年前。

Unable to deploy module in Liferay 7.

Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi All,
I am using LR7 GA2, in Ubuntu,
i have succesfully migrated from 6.2 GA2 to 7 GA2.
and now i want develop modules for that first i need to create a workspace,
i followed this_link to create workspace
fisrst i ran cmd blade init workspace,
then it created a folder structure like the following,
  • configs
  • gradle
  • modules
  • themes
  • build.gradle
  • gradle.properties
  • gradlew
  • gradlew.bat
  • settings.gradle

after that i ran blade create -t mvcportlet -p com.liferay.docs.guestbook -c GuestbookPortlet my-guestbook-project
module created successfully..
now i ran gradle deploy from module root folder,
then it throwing excep's
FAILURE: Build failed with an exception.

* Where:
Settings file '/opt/example/workspace/settings.gradle' line: 13

* What went wrong:
A problem occurred evaluating settings 'workspace'.
> Cannot apply plugin with id 'com.liferay.workspace' to 'settings 'workspace'' (class: org.gradle.initialization.DefaultSettings_Decorated) as it is not a Project

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

but in windows it is working fine.
and i checked settings.gradle file there dependency version is 1.0.37
but in ububtu it is 1.0.40 so i changed this and again i run gradle deploy cmd.
no result same prob..
please help me,
where i'm wrong.

thanks,
Thirumal.
thumbnail
Juan Gonzalez,修改在7 年前。

Move to more appropiate category

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Move to more appropiate category
Thirumal Reddy,修改在7 年前。

RE: Unable to deploy module in Liferay 7.

Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi Jaun,
I'm not seeing your replay.
but it showing in myPosts.


Thanks,
Thirumal.
thumbnail
Juan Gonzalez,修改在7 年前。

RE: Unable to deploy module in Liferay 7.

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Thirumal Reddy:
Hi Jaun,
I'm not seeing your replay.
but it showing in myPosts.


Thanks,
Thirumal.


Exactly, I didn't reply, just did what I wrote in my comment: moved this thread to a better category.
Thirumal Reddy,修改在7 年前。

RE: Unable to deploy module in Liferay 7.

Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
OK,
Any Sol'n.?

Thanks,
Thirumal.
thumbnail
David H Nebinger,修改在7 年前。

RE: Unable to deploy module in Liferay 7.

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Did you create the guestbook project in the main directory or did you create it in the modules folder?







Come meet me at the LSNA!
Thirumal Reddy,修改在7 年前。

RE: Unable to deploy module in Liferay 7.

Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi David,
directly i created GuestbookPortlet under modules folder.

thanks,
Thirumal.
Thirumal Reddy,修改在7 年前。

RE: Unable to deploy module in Liferay 7.

Regular Member 帖子: 216 加入日期: 15-12-3 最近的帖子
Hi All,
any help..?

thanks,
Thirumal.