Questions tagged as 'spring'

1
answer

XML ERROR: adding the element "task: executor"

Thank you in advance for your help, in an XML file I try to associate a new element like this: <task:executor id="example" pool-size="10"/> The error is as follows: Caused by: org.xml.sax.SAXParseException; lineNumber: ###; columnNu...
asked by 06.11.2016 / 16:37
0
answers

How to modify what is shown in the gvnix loupe field?

I am working on a project with spring roo and with gvnix, the question I have is about the loupe field, I already know how to change what is shown in the list of search results, concatenating the fields of my entity that I want and calling the...
asked by 26.07.2016 / 21:10
0
answers

Error: Data too long for column 'image' at row 1 with MySQL medium column

I am storing images that range from 1mb and maximum 7mb in a MySQL database. For this I have created a table with a field of type MEDIUMBLOB that has a capacity of 16,777,215 bytes which is the same 16mb. When I save images of up to 2.2mb it...
asked by 24.05.2016 / 03:54
1
answer

convert object jpa to json

As such, I am developing a web application with spring boot and I can not find a way to return the result of a jpa query in json format using an ajax request. If I create an instance of one of my entities and return it in the controller with @Re...
asked by 17.07.2016 / 17:42
2
answers

How can I show the null values as an empty column?

I have a template person_report and I need the values of this concatenation not to be shown as null when a pdf is generated. <td th:text="|${person.address} ${person.address_number} ${person.floor} ${p...
asked by 10.08.2018 / 22:33
3
answers

spring boot, problem mapping view with simple driver

I started an application with Spring Boot , Generate maven project with Java 1.8 and Spring Boot 2.0.3 I have created a simple controller and a view and it does not map it to me. Should we touch something? Any application propertie? I...
asked by 30.06.2018 / 20:57
2
answers

How to get attribute of the one session Java, Spring

I want to create a final variable, but get its value from a session started, for example final static String variable = (String) new HttpServletRequest.getSession().getAttribute("codigoVerificacion"); I hope you can help me, sinc...
asked by 14.11.2016 / 22:04
2
answers

SPRING WITH ORACLE

I have the following code that is in my repository " link " but when executing it, it tells me that it can not find a "DataSource" file the complete error is as follows '2017-10-22 22:46:31.987 INFO 9894 --- [ main] c.c.c.Conf...
asked by 23.10.2017 / 06:57
1
answer

Create Public Folder SpringMVC

In the current project I have a webservice (API-REST) this has a control panel where they fill out the forms to identify via web this webservice the detail is in that I do not know how to create a public folder example currently in the form t...
asked by 09.06.2018 / 06:29