Spring Boot - Not able to send email

I am getting the following error when I send email from my Spring Boot app. org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as t...
more »

2017-02-20 06:02 (0) Answers

Grails - BootRun error while starting application

I have updated grails application from 3.1.9 to 3.2.6 but I am having problem while running application. It compiles successfully but when I tries to run it following exception occurs. I have applied different stackoverflow solution but I am unable t...
more »

2017-02-19 09:02 (0) Answers

How to document REST services in Spring boot?

So, I have been looking at documenting my services in Spring Boot... I have found that Spring Boot has some documentations OOTB in the form of HAL links and ALPS metadata. But, it seems these two only document 'dynamic REST endpoints' created on sta...
more »

2017-02-17 15:02 (0) Answers

Boxfuse : Redirect Base URL

I have deployed my Spring Boot app at Boxfuse with base URL as https://example.com . Now, I want to redirect the users from this URL to http://example1.com . This returns 302 status code and application is not getting deployed . I try to set the res...
more »

2017-02-17 12:02 (1) Answers

RequestParam value converter

We are using Swagger to generate our API interfaces and model classes. However, Swagger generates the request parameters of our endpoints in a camelCase style instead of snake_case as it specified in our APIs. For example, the code generated is: @...
more »

2017-02-15 05:02 (0) Answers

JSP's directory after Gradle building

I wrote a simple application basen od Spring Boot, everything works fine, jsp files are mapped well, but if I want to build application (jar or war, tried both) by using Gradle - when I'm entering earlier properly mapped jsp i have typical "404 not f...
more »

2017-02-07 16:02 (0) Answers

Comparing two lists and getting differences

I have two lists. They contain objects of different types, but both types contain id and name, and id is what I am comparing on. List one is fetched from DB, and list two is sent from frontend. What I need to do is loop through them and find which...
more »

2017-02-03 15:02 (4) Answers

Angular 1.6, $http.post not working in Firefox

I'm trying to make a simple Angular "$http.post" request to a basic registration REST API, but when I check the network tab (developer tools) in Firefox, the POST request is missing. $http.post('http://example.com/api/user/userregistration', $scope....
more »

2017-02-03 15:02 (1) Answers