Questions tagged as 'spring-mvc'

1
answer

Bug in the Spring query code with Hibernate

I have a problem, I'm studying spring mvc with hibernate and I ended up getting into a bug where it returns the following exception "java.lang.NullPointerException", it follows the codes: ContactController package br.com.agenda.controller...
asked by 03.02.2017 / 00:38
2
answers

Spring MVC + Spring Data

Good morning, everyone? I do not have a problem in itself, just something I want to optimize. I am using Spring MVC with Spring Data, to perform pagination of results, I am doing using Pageable inside my repository. My problem is in the front en...
asked by 05.01.2017 / 11:30
1
answer

How to use th: if

Good morning, someone would tell me the correct way to use Thymeleaf's "th: if" with Spring MVC, I'm trying that way but I'm not getting it .. th:if="${situacao_financeira} eq 'A'"     
asked by 27.10.2016 / 14:04
1
answer

Json Post Unsupported Media Type Spring MVC

I am doing POST using ajax data in JSON format to controller in Spring MVC , however the server is refusing such request Unsupported Media Type stating that the type is not supported. Is there a configura...
asked by 26.07.2016 / 22:44
1
answer

Spring Boot error 404

Hello, I'm studying Spring Mvc and Spring Boot and I came across the following problem that I have not been able to identify yet. After running my main method I get the following message. Whitelabel Error Page This application has no ex...
asked by 20.07.2016 / 02:32
1
answer

Css not found html page - SpringFramework

Hello. I'm having trouble getting the css, js, fonts etc from my project on my pages. I'm using Spring by entering the address of the css files in the browser but the system is not managing to find the path correctly. If anyone can help .....
asked by 27.04.2016 / 01:53
2
answers

How to run a Timer class (always) in the deployment?

I have a non-web project and I'm going to turn it into a web project using Spring MVC. Today in my method static main of my main class, I create this here: Exec.principalTimer = new Timer(); Exec.principalTimer.scheduleAtFixe...
asked by 09.05.2016 / 21:07
1
answer

Error resolving template when running Spring application

I'm having trouble running this Spring application, I followed the steps in a booklet, but these errors came up. How do I solve this problem? Errors:    Error resolving template "InvitationList", template might not exist   or might not...
asked by 11.07.2016 / 08:00
1
answer

Generate PDF report with jasper reports and spring

Hello, I'm having a problem generating a report with jasper reports in spring. I made the implementation exactly as it appears in method 4 of this explanation: link When I click the button to generate the report, I'm redirected to the...
asked by 22.02.2016 / 03:32
1
answer

Notifier of any event that the user performs in the system [closed]

I'm using Spring Framework for java and would like to create I can create a warning type, <scan> , which shows in the table that a new row was added (this line comes from the database), and clicking on it to disappear implying that t...
asked by 14.01.2016 / 18:28