Foros de discusión

Getting error when build the Spring MVC portlet

thumbnail
Abid Ali, modificado hace 11 años.

Getting error when build the Spring MVC portlet

Junior Member Mensajes: 88 Fecha de incorporación: 31/03/12 Mensajes recientes
Hello All,
I am developing an spring MVC portlet. when I buid the portlet I was getting error.

Buildfile: /home/sourceone/Desktop/liferay/liferay-plugins/portlets/dateTime-portlet/build.xml
compile:
merge:
     [copy] Copying 5 files to /home/sourceone/Desktop/liferay/liferay-plugins/portlets/dateTime-portlet/docroot/WEB-INF/lib
compile-java:
merge:
war:
build-css:
     [java] 2 Nov, 2012 12:55:18 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
     [java] INFO: No server detected
     [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
     [java] 12:55:18,136 INFO  [EasyConf:122] Refreshed the configuration of all components
     [java] 2 Nov, 2012 12:55:18 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
     [java] INFO: Global lib directory /home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/lib/ext/
     [java] 2 Nov, 2012 12:55:18 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
     [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/
     [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]
     [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
     [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
compile:
merge:
compile-java:
merge:
build-common-plugin.war:
   [delete] Deleting: /home/sourceone/Desktop/liferay/liferay-plugins/dist/dateTime-portlet-6.1.0.1.war
clean-portal-dependencies:
      [zip] Building zip: /home/sourceone/Desktop/liferay/liferay-plugins/dist/dateTime-portlet-6.1.0.1.war
deploy:
     [copy] Copying 1 file to /home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/deploy
BUILD SUCCESSFUL
Total time: 3 seconds
thumbnail
Juan Gonzalez P, modificado hace 11 años.

RE: Getting error when build the Spring MVC portlet

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
I can't see any errors in that log. All seems ok.
thumbnail
Harish Kumar, modificado hace 11 años.

RE: Getting error when build the Spring MVC portlet

Expert Mensajes: 483 Fecha de incorporación: 31/07/10 Mensajes recientes
Can't see any error/exception in the logs you posted.
thumbnail
Abid Ali, modificado hace 11 años.

RE: Getting error when build the Spring MVC portlet

Junior Member Mensajes: 88 Fecha de incorporación: 31/03/12 Mensajes recientes
Hi harish,
one message come
No server detected
. plz check that
thumbnail
Abid Ali, modificado hace 11 años.

RE: Getting error when build the Spring MVC portlet

Junior Member Mensajes: 88 Fecha de incorporación: 31/03/12 Mensajes recientes
But my portlet is not shown in portal page
Jigar N Gajjar, modificado hace 11 años.

RE: Getting error when build the Spring MVC portlet

Junior Member Mensajes: 71 Fecha de incorporación: 25/12/09 Mensajes recientes
[quote=/home/sourceone/Desktop/liferay/liferay-portal/liferay-portal-6.1.0-ce-ga1/deploy

is this right path for your server deploy directory?
thumbnail
Subhash Pavuskar, modificado hace 11 años.

RE: Getting error when build the Spring MVC portlet

Regular Member Mensajes: 234 Fecha de incorporación: 13/03/12 Mensajes recientes
@Abid : Check your server path !! whether you had given right path or not !!