Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Abid Ali
Getting error when build the Spring MVC portlet
2. November 2012 00:30
Antwort

Abid Ali

Rang: Junior Member

Nachrichten: 89

Eintrittsdatum: 30. März 2012

Neue Beiträge

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. November 2012 00:33
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1865

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

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

Harish Kumar

Rang: Expert

Nachrichten: 327

Eintrittsdatum: 31. Juli 2010

Neue Beiträge

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

Abid Ali

Rang: Junior Member

Nachrichten: 89

Eintrittsdatum: 30. März 2012

Neue Beiträge

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

Abid Ali

Rang: Junior Member

Nachrichten: 89

Eintrittsdatum: 30. März 2012

Neue Beiträge

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

Jigar N Gajjar

Rang: Junior Member

Nachrichten: 53

Eintrittsdatum: 24. Dezember 2009

Neue Beiträge

[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. November 2012 22:05
Antwort

Subhash Pavuskar

Rang: Regular Member

Nachrichten: 234

Eintrittsdatum: 12. März 2012

Neue Beiträge

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