Message Boards

deploying a SpringMvcPortlet in a gradle project

ahmed joti, modified 3 Years ago.

deploying a SpringMvcPortlet in a gradle project

New Member Posts: 5 Join Date: 8/15/20 Recent Posts
Hi everyone,

im using liferay 7.1 ,and when i want to deploy a SpringMvcPortlet i got this error :

 Could not resolve all files for configuration ':wars:mySpringMvcPortlet:compileClasspath'.
   > Could not find javax.validation:validation-api:.
     Required by:
         project :wars:SpringMvcPortletFormation
   > Could not find org.hibernate.validator:hibernate-validator:.
     Required by:
         project :wars:SpringMvcPortletFormationPossible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Do you have an idea where my error is?


Thanks in advance