Questions tagged as 'spring'

1
answer

Update table using jQuery and controller in Spring?

What I'm looking for is that when I click on the button the comment table is updated asynchronously, that is, I'm loaded with a jquery function that updates a table in the JSP. I leave the code, because currently I miss the "alert" error: Con...
asked by 12.04.2016 / 00:00
1
answer

Cast Error of a Query in Spring

PROBLEM WHEN MAKING THE CASE OF A QUERY OF SQL TO A MAPEED TABLE, TO BE ABLE TO SHOW THE RESULT OF MY CONSULTATION IN A TABLE IN FRONT END. @Transactional("txsManagerSHOP") @RequestMapping(value = "getShopTable", method = RequestMeth...
asked by 08.05.2017 / 15:55
1
answer

Error creating a table with primary key composed of Hibernate

I'm trying to create a table with a composite key in Spring using Hibernate, what happens is that I get the following error:    2017-09-14 09: 07: 55.323 ERROR 9108 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaUpdate: HHH000388: Uns...
asked by 14.09.2017 / 16:30
3
answers

Spring component annotations

I'm starting to use and, so I've seen, the difference between the annotations @Controller , @Repository and @Service is the layer where you have to use it since it could be said that they are an extension / specialization of...
asked by 23.11.2016 / 16:29
1
answer

Spring MVC Pass messages to the view

Greetings I want in the index to show the message made in a controller with a background provided by Boostrap. When starting the application the variable message has no content and paints the background of the boostrap. How do you do it so...
asked by 26.02.2018 / 22:13
1
answer

Error Plugins in Spring project

I am trying to create my first project with Spring. I miss two mistakes: Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:3.1.0:testResources (execution: default-testResources, phase: pro...
asked by 02.11.2018 / 12:22
2
answers

How to show a report with jasperreport when clicking on a button?

I have the following code in my jsp, and what I want to do is that when I click on the button, it sends me to another page to show the report, what it does is that if it enters my method that I have in the controller but shows nothing or marks e...
asked by 02.10.2018 / 06:08
1
answer

org.springframework.beans.factory.NoUniqueBeanDefinitionException: expected single matching bean but found 3

How to resolve ambiguities in the AUTOMATIC CONNECTION of Bean in Spring? Image we have an interface: public interface Dessert { void eat(); } And we have three Beans that implement the interface: BEAN CAKE: @Component public class...
asked by 01.09.2018 / 15:47
1
answer

What is the use of & gt and the & lt in a native query?

I have the following native query but I do not know what it means or what it does & gt, & lt <query> SELECT ID, ID_BASE, NOMBRE, RFC, NOMBRE_CLAVE, FEC_REGISTRO, FECH_PRINCIPAL FROM FACTURA F WHERE F.ID_BASE=?1 AND F.FEC_RE...
asked by 12.07.2018 / 05:35
1
answer

Error downloading project in Spring from the repository

Hello Good afternoon to all, what happens is that I can not execute a project that comes down from a repository, but it throws me this error: jul 05, 2017 3:41:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin ADVERTENCIA: [SetProp...
asked by 05.07.2017 / 22:56