Précédent   Forum du club des développeurs et IT Pro > Java > Développement Web en Java > Portails
Portails Forum d'entraide sur les Portlets (JSR 168 / JSR 286) et les solutions Java de type portail (GateIn, Liferay, JBoss Portal, eXo Platform, etc.)
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse
 
Outils de la discussion
Publicité
'
Vieux 09/07/2012, 19h01   #1
abdo2011
Invité de passage
 
Homme
Étudiant
Inscription : avril 2011
Messages : 15
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant
Secteur : High Tech - Éditeur de logiciels

Informations forums :
Inscription : avril 2011
Messages : 15
Points : 2
Points : 2
Par défaut Error com.liferay.portal.ResourceActionsException: There are no actions associated with the resource

je suis nouveau en liferay lorsque je fais une portlet qui ajoute un book dans la base quand je click sur la bouton ajouter il y a une exception qui apparaisse:
Citation:
com.liferay.portal.ResourceActionsException: There are no actions associated with the resource com.Books.database.model.Books
at com.liferay.portal.service.impl.ResourceLocalServiceImpl.validate(ResourceLocalServiceImpl.java:927)
at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:166)
at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
merci bien de m'aider a corriger cette erreur.
abdo2011 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/07/2012, 19h22   #2
othman3535
Nouveau Membre du Club
 
Othman
Inscription : décembre 2009
Messages : 72
Détails du profil
Informations personnelles :
Nom : Othman

Informations forums :
Inscription : décembre 2009
Messages : 72
Points : 29
Points : 29
Il faut que tu déclare ton classe ressource dans le fichier portal-ext.properties.
voir :http://www.liferay.com/community/for...essage/3465412
othman3535 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 10/07/2012, 15h09   #3
abdo2011
Invité de passage
 
Homme
Étudiant
Inscription : avril 2011
Messages : 15
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Tunisie

Informations professionnelles :
Activité : Étudiant
Secteur : High Tech - Éditeur de logiciels

Informations forums :
Inscription : avril 2011
Messages : 15
Points : 2
Points : 2
Citation:
Envoyé par othman3535 Voir le message
Il faut que tu déclare ton classe ressource dans le fichier portal-ext.properties.
voir :http://www.liferay.com/community/for...essage/3465412
merci othman3535 pour votre reponse, mais j' ai le fichier defaullt.xml qui se trouve sous le dossier docroot\WEB-INF\src\resource-actions et je declare dans le fichier portal-ext.properties
mais le dossier /ext/ext-impl/src/ ne se trouve pas dans mon projet .
merci bien de m'expliquer cette reponse.
abdo2011 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse
Outils de la discussion

Navigation rapide


Fuseau horaire GMT +2. Il est actuellement 21h32.


 
 
 
 
Partenaires

Hébergement Web