掲示板

Unable to deploy module in Liferay 7.

7年前 に Thirumal Reddy によって更新されました。

Unable to deploy module in Liferay 7.

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
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
7年前 に Juan Gonzalez によって更新されました。

Move to more appropiate category

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Move to more appropiate category
7年前 に Thirumal Reddy によって更新されました。

RE: Unable to deploy module in Liferay 7.

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
Hi Jaun,
I'm not seeing your replay.
but it showing in myPosts.


Thanks,
Thirumal.

添付ファイル:

thumbnail
7年前 に Juan Gonzalez によって更新されました。

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.
7年前 に Thirumal Reddy によって更新されました。

RE: Unable to deploy module in Liferay 7.

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
OK,
Any Sol'n.?

Thanks,
Thirumal.
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: Unable to deploy module in Liferay 7.

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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!
7年前 に Thirumal Reddy によって更新されました。

RE: Unable to deploy module in Liferay 7.

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
Hi David,
directly i created GuestbookPortlet under modules folder.

thanks,
Thirumal.
7年前 に Thirumal Reddy によって更新されました。

RE: Unable to deploy module in Liferay 7.

Regular Member 投稿: 216 参加年月日: 15/12/03 最新の投稿
Hi All,
any help..?

thanks,
Thirumal.