Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Abid Ali
Getting error when build the Spring MVC portlet
2 de Novembro de 2012 00:30
Resposta

Abid Ali

Ranking: Junior Member

Mensagens: 89

Data de entrada: 30 de Março de 2012

Mensagens recentes

Hello All,
I am developing an spring MVC portlet. when I buid the portlet I was getting error.

 1Buildfile: /home/sourceone/Desktop/liferay/liferay-plugins/portlets/dateTime-portlet/build.xml
 2compile:
 3merge:
 4     [copy] Copying 5 files to /home/sourceone/Desktop/liferay/liferay-plugins/portlets/dateTime-portlet/docroot/WEB-INF/lib
 5compile-java:
 6merge:
 7war:
 8build-css:
 9     [java] 2 Nov, 2012 12:55:18 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
10     [java] INFO: No server detected
11     [java] Loading jar:file:/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
12     [java] 12:55:18,136 INFO  [EasyConf:122] Refreshed the configuration of all components
13     [java] 2 Nov, 2012 12:55:18 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
14     [java] INFO: Global lib directory /home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/lib/ext/
15     [java] 2 Nov, 2012 12:55:18 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
16     [java] INFO: Portal lib directory /home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/
17     [java] 12:55:18,357 INFO  [ConfigurationLoader:56] Properties for jar:file:/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal loaded from [file:/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/classes/portal-ext.properties, jar:file:/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties]
18     [java] Loading jar:file:/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
19     [java] Loading file:/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/classes/portal-ext.properties
20compile:
21merge:
22compile-java:
23merge:
24build-common-plugin.war:
25   [delete] Deleting: /home/sourceone/Desktop/liferay/liferay-plugins/dist/dateTime-portlet-6.1.0.1.war
26clean-portal-dependencies:
27      [zip] Building zip: /home/sourceone/Desktop/liferay/liferay-plugins/dist/dateTime-portlet-6.1.0.1.war
28deploy:
29     [copy] Copying 1 file to /home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/deploy
30BUILD SUCCESSFUL
31Total time: 3 seconds
Juan Gonzalez
RE: Getting error when build the Spring MVC portlet
2 de Novembro de 2012 00:33
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1842

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

I can't see any errors in that log. All seems ok.
Harish Kumar
RE: Getting error when build the Spring MVC portlet
2 de Novembro de 2012 00:42
Resposta

Harish Kumar

Ranking: Expert

Mensagens: 327

Data de entrada: 31 de Julho de 2010

Mensagens recentes

Can't see any error/exception in the logs you posted.
Abid Ali
RE: Getting error when build the Spring MVC portlet
2 de Novembro de 2012 01:31
Resposta

Abid Ali

Ranking: Junior Member

Mensagens: 89

Data de entrada: 30 de Março de 2012

Mensagens recentes

Hi harish,
one message come
No server detected
. plz check that
Abid Ali
RE: Getting error when build the Spring MVC portlet
2 de Novembro de 2012 03:19
Resposta

Abid Ali

Ranking: Junior Member

Mensagens: 89

Data de entrada: 30 de Março de 2012

Mensagens recentes

But my portlet is not shown in portal page
Jigar N Gajjar
RE: Getting error when build the Spring MVC portlet
4 de Novembro de 2012 01:01
Resposta

Jigar N Gajjar

Ranking: Junior Member

Mensagens: 53

Data de entrada: 24 de Dezembro de 2009

Mensagens recentes

[quote=/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/deploy

is this right path for your server deploy directory?
Subhash Pavuskar
RE: Getting error when build the Spring MVC portlet
4 de Novembro de 2012 22:05
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 232

Data de entrada: 12 de Março de 2012

Mensagens recentes

@Abid : Check your server path !! whether you had given right path or not !!