Skip to content

Tag: spring-mvc

Spring Boot Program cannot find main class

I have a program which runs as a Spring boot App in eclipse. The program was running fine. Then i did the following: Right click on project -> Run As -> Maven Test . This was accidental. When i then tried to run the program as a spring boot app again, it threw the following error below. Error: Could not

validating the Aadhar card number in a application

we are developing a application which need to check whether user entering valid “AADHAR” number or not. i find some links and some “apis” but didn’t meet final requirement please provide me a some useful material to solve this What is Aadhaar? Aadhaar is a 12 digit individual ide…

Spring Bean Validation @Valid handling

I have created a Spring MVC REST service using Bean Validation 1.2 with the following method: If object isn’t valid, Tomcat informs me that The request sent by the client was syntactically incorrect. and my validatedMethod is never called. How can I get the message that was defined in the ValidObject be…