Questions tagged as 'spring-boot'

0
answers

Field authenticationManager in ... required a bean of type 'org.springframework.security.authentication.AuthenticationManager'

I am using vaadin with spring boot and I try to incorporate the security of spring, I take an example and it works correctly with previous versions of spring boot and vaadin, but when updating the version, the same program gives me that error. I...
asked by 29.05.2018 / 03:03
0
answers

Why does the keycloak documentation suggest not using the spring boot adapter?

I am currently developing an application with spring boot with keycloak for the maintenance of user access. I followed this guide link and the keycloak documentation to deploy my application in tomcat, but the same documentation suggests not u...
asked by 24.05.2018 / 21:12
0
answers

Spring boot with Active Directory

I'm trying to connect to the active directory from Spring Boot by forming the url and I get the following error javax.naming.NamingException: Can not parse url: "ldap: // [ip Active Directory]: 3268 / dc = company, dc = org" Please that I...
asked by 30.05.2018 / 17:50
0
answers

Consume a stream in angular

I have a rest controller that responds to a StreamResponseBody and I write information in the pause with some seconds x, and so on until I finish all the information, and I want to consume it with angular with http get (). subscribe ((response)...
asked by 24.05.2018 / 01:08
0
answers

How to update application.properties at run time SpringBoot

I have a requirement in an API that I wrote in Spring Boot, where I need to read an id from the application.properties of the project and make a query to the database where the last field that has this query is the new ID that I need put in the...
asked by 22.05.2018 / 22:59
0
answers

SSO spring boot and wso2 is

Hi, I'm running this example but with the wso2-is: 4.5.1 link and although you already add the certificate that generates the wso2 to my jdk I still get the error on my page:    This application has no explicit mapping for / error, so you a...
asked by 16.05.2018 / 17:14
0
answers

Run a new SpringBoot project

I created a skeleton project using a starter the SpringBoot choosing some dependencies: Web + JPA + MySQL <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2...
asked by 11.05.2018 / 03:57
1
answer

Spring Boot does not recognize an Object sent from angular4's http

I am trying to execute a post call from an angular application to an api developed with Spring boot. What happens is that I do not bind between the object I sent and the one that is expected as a parameter. If I run it from postman sending the p...
asked by 11.05.2018 / 05:39
0
answers

How to configure JSON output in logs / console with SPRINGBOOT + LOGBACK with YAML properties

Have this configuration to show the output of logs to console in JSON format: logback.xml <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <P...
asked by 26.04.2018 / 22:44
0
answers

How can I cast a Thumbnailator object to Blob

I have a form in which I get an image. And through a Java library Thumbnailator GIT MANA Repo Thumbnailator And I do these steps: //Transformamos en un array de bit la imagen byte[] contents = file.getBytes(); //Escala la imagen y l...
asked by 26.04.2018 / 11:38