Questions tagged as 'spring'

2
answers

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'projectController'

I have been doing a simple application project with Spring MVC and Maven. However, the program still throws me an exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'projectController' I pa...
asked by 29.04.2016 / 19:18
2
answers

The request was rejected because its size

I have the following code in my controller which is responsible for loading a client with a photo. @RequestMapping(method = RequestMethod.POST, value = "/form") public String guardar(@Valid @ModelAttribute("cliente") ClienteEntity cliente, Bin...
asked by 01.03.2018 / 15:35
1
answer

Tomcat 8 does not recognize Api REST

I have a Rest API created with Java 1.7, using spring boot. When I start the server in eclipse (which uses an embedded tomcat) the application works correctly and when I show localhost: 8080 / hello the message appears in JSON "Hello World"....
asked by 28.06.2017 / 11:06
1
answer

Apache tomcat spring mvc webapp file upload

I am creating an application with Spring MVC, in which users upload files, I understand that the files can not be located within the project since this would make my .WAR file very heavy and these files would be lost if I re-deploy the applicati...
asked by 02.03.2017 / 06:41
1
answer

Convert Object to multipart document (multipartFile) - Download and upload files

Hello, I have this require of parameters in the backend of my application @RequestMapping(method = RequestMethod.POST, path = "/skills/excel") public ResponseEntity<?> loadExcelSkills(@RequestParam MultipartFile file) throws Encrypte...
asked by 14.06.2018 / 11:28
1
answer

Spring Boot + Maven: Project build error: Non-resolvable parent POM

I am creating a Spring Boot project using the Spring Starter Project. At first I did it normally a couple of times a few days ago. Today I try again and I find this error. The description of the error is this:    Project build error:...
asked by 02.09.2018 / 23:09
1
answer

Spring boot security http basic with oauth2 resource server

I am trying to configure a spring boot web application to use the basic http security which will be used for the web pages, and additional I need to implement OAuth2 security for an android application to connect. The problem I have is that t...
asked by 06.06.2018 / 02:44
0
answers

WARN org.springframework.web.servlet.PageNotFound

I have this error when I want to run a java project with spring    WARN org.springframework.web.servlet.PageNotFound - No mapping found   for HTTP request with URI [/ utm /] in DispatcherServlet with name   'springDispatcher' I attach two...
asked by 02.10.2018 / 06:54
2
answers

How do I solve this error when I perform a crud in spring boot?

I have a problem when I click on update a window appears and there I update the data but instead of updating it I create another record I do not know what to do next I leave the code: Model user class @Entity public class User extends A...
asked by 17.07.2018 / 00:38
0
answers

How can I generate a horizontal pdf with thymeleaf and spring?

I have a system that has personas registered, and I have generated a report of all of them with different datos but the pdf is downloaded vertically, so the campos as many are not displayed correctly, How can I generate the...
asked by 10.08.2018 / 15:40