Questions tagged as 'spring-mvc'

0
answers

Modular Project - Spring (boot)

I need to create a modular project like the example described below: How do I do it? ProjetoPrincipal | |_ProjetoPrimeiro | |_src | |_main | |_java | |_br | |_minhaempresa | |_model...
asked by 07.04.2018 / 23:00
0
answers

The request sent by the client was syntactically incorrect

I'm developing an application with Spring MVC 4. And I'm getting this error "Status 400 - The request sent by the client was syntactically incorrect". As I researched the internet, I saw that this is because Spring can not make the link between...
asked by 17.03.2018 / 19:28
0
answers

Spring @Scope ("session") not working with webAppContextSetup

In my spring test when i use standaloneSetup (controller) the @Scope ("session") works fine. But when I change to webAppContextSetup (this.wac) the scope stop working. My question is, why? Controller: @Controller @RequestMapping("/pe...
asked by 22.03.2018 / 16:54
0
answers

Failed to persist in JPA

Good evening! Can anyone help me to understand this problem? I am testing an application and when the application tries to persist a front field with a larger number of characters than the one supported in the bank field the error is returned:...
asked by 18.02.2018 / 01:02
0
answers

Spring + JSP (URL is not loading in Browser)

I am experiencing somewhat strange behavior in my project that uses Maven + Spring + Hibernate + JSP. When I click a button on the form, everything flows normally (the corresponding URL is triggered and the logic corresponds to the method linked...
asked by 31.01.2018 / 10:07
1
answer

Spring + hibernate + jsp

When submitting my form, an error occurs due to this section: <select name="departamento" style=" width : 354px;"> <c:forEach var="departamento" items="${allDepts}"> <option value="${departamento.selfId}" ${e...
asked by 25.01.2018 / 15:15
1
answer

Error when calling Forge

When I run Forge, it returns me the following error: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jboss.forge.furnace.impl.LoggingRepair$1 (file:/Users/xxxxx/forge/forge-distribution-...
asked by 17.01.2018 / 05:23
1
answer

Float with null value Spring

I have an application with Spring Data. A Call the findAll () method of Spring, there are null values in the database. When doing the set of the object the field comes with null value by triggering the error message: Can not set float field br.c...
asked by 29.12.2017 / 19:39
1
answer

Error when spring starts [duplicate]

First of all, I use java 9 and apache tomcat 9 When I start the application this error happens: 18:00:46,804 ERROR DispatcherServlet:492 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating...
asked by 27.12.2017 / 21:25
0
answers

Is there any way to set spring MVC to receive an object with subobject?

I have in my project a controller that receives data via jquery. But this data is converted into an object containing subobject. that is: class Teste{ String a; String b; Test2 teste2; } class Test2{ String c; String d; }...
asked by 30.11.2017 / 01:03