Questions tagged as 'spring'

1
answer

Void function with Spring returning null in Angular 6

I have the following code to just delete a record in the database and it should return a result with status 204-OK. I use Spring Rest in the back and a method like void with an @ResponseStatus annotation (HttpStatus.NO_CONTENT). I tested it o...
asked by 30.10.2018 / 13:25
1
answer

How do I keep the same object between requests in Spring MVC?

I'm trying to add items to the same Request object dynamically, but I'm always instantiating a new Request. @GetMapping("/novo") public ModelAndView preSalvar(@ModelAttribute ("pedido") Pedido Pedido){ List<Produto> produtos= produto...
asked by 20.10.2018 / 23:27
0
answers

Error Calling Java Fx Screens in Spring

I'm developing a Spring + Java Fx application, when calling the code from the main class screen, it works normally, but if I call another screen, it does not write the information in the model and gives null pointer exception, how I managed the...
asked by 08.10.2018 / 22:53
2
answers
0
answers

IllegalArgumentException while doing deploy Spring Boot application in WebLogic

I'm not able to successfully deploy my Spring boot 2-based application on a server running Oracle WebLogic 12.1.3 because of this error: weblogic.application.ModuleException: null null at weblogic.servlet.internal.WebAppModule.createMo...
asked by 30.08.2018 / 19:39
1
answer

Spring Boot - Error 404 nonsense

I'm starting with Spring boot and I created a project by Spring Initializr with Spring Boot 2.0.5 and dependencies Web, PostgreSQL e DevTools , I imported the project In IntelliJ, so far, I've been following some tutorials I've se...
asked by 17.09.2018 / 22:58
2
answers

Error trying to connect to a PostgreSQL database with Hibernate and Spring Boot

I am a beginner in Spring Boot and Hibernate, I did a project in the Spring Initializr with only the dependencies Web, DevTools e PostgreSQL , but then I added the dependency spring-boot-starter-data-jpa , I was following some tuto...
asked by 19.09.2018 / 03:12
0
answers

When trying to access the repository com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError

Well, I'm having a problem here, and I can not solve it. I already searched the forums, but I also did not see any solutions. Does anyone give this help please? The error happens when I try to save the form with the user data. I thought I cou...
asked by 14.08.2018 / 20:13
0
answers

Can I assign the same URL to more than one controller?

I'm trying to use AJAX $.ajax({ url : urlN, // <<- "/log" type: "post", success : function(json) { console.log(json); document.getElementById('content').innerHTML = json; } setInterval(refreshDiv, 5000);...
asked by 09.08.2018 / 19:40
0
answers

Spring configuration error

Someone could help me with this error:    Invalid NamespaceHandler class   [org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler]   for namespace [ link :   problem with handler class file or dependent class; nested ex...
asked by 20.07.2018 / 08:19