Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Abid Ali
Getting error when build the Spring MVC portlet
November 2, 2012 12:30 AM
Answer

Abid Ali

Rank: Junior Member

Posts: 89

Join Date: March 30, 2012

Recent Posts

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
November 2, 2012 12:33 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1855

Join Date: October 28, 2008

Recent Posts

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

Harish Kumar

Rank: Expert

Posts: 327

Join Date: July 31, 2010

Recent Posts

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

Abid Ali

Rank: Junior Member

Posts: 89

Join Date: March 30, 2012

Recent Posts

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

Abid Ali

Rank: Junior Member

Posts: 89

Join Date: March 30, 2012

Recent Posts

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

Jigar N Gajjar

Rank: Junior Member

Posts: 53

Join Date: December 24, 2009

Recent Posts

[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
November 4, 2012 10:05 PM
Answer

Subhash Pavuskar

Rank: Regular Member

Posts: 233

Join Date: March 12, 2012

Recent Posts

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