Questions tagged as 'spring'

0
answers

Exception handling with spring

I try to capture the 404 error of my application with Spring mvc and then send it to a view. But I do not know what error I can have the code that does not catch the error. I leave my code in case someone could help me and see where the fault is...
asked by 26.04.2018 / 09:50
0
answers

Spring batch: [SQLITE_BUSY] The database file is locked (database is locked)

I'm doing a Batch that reads SQLite data and transforms it into CSV But every time I run the program it shows the same exception  "[SQLITE_BUSY] The database file is locked (database is locked)" The method that reads the data: @Bean Item...
asked by 17.04.2018 / 20:44
1
answer

Cord Sring - Error in Firefox browser

I've ever happened to them that when they open their website in google chrome, internet explore works all the CORD but when I open it with Mozilla Firefox I get this error:    Request from another blocked source: the same source policy preven...
asked by 20.04.2018 / 18:22
0
answers

Error when deploying spring Error creating bean with name 'JettyServletWebServerFactory'

I want to deploy my spring v2.0.1 project and with spring security, but it gives me a lot of headaches when I activate it, it boosts me multiple errors if I do not activate the security everything goes as normal.    Can not upload deployment:...
asked by 07.04.2018 / 01:18
0
answers

Load image from Java and send to Form

Hello, good morning. It turns out that we work with RichFaces, JSP, Java, Spring. I need to upload an image from an external folder to the project through Java and then send it to the JSP managed with RichFaces and I do not know how to do it....
asked by 05.04.2018 / 18:58
1
answer

Modification-Error in the creation of an instance with jsf-spring-hibernate-mysql

I already asked this question previously but now it gives me another error product of a change. I am a beginner in this Spring-Hibernate (I know the essentials). I have created in Netbean a login with hibernate (annotations) and access to MySql...
asked by 20.03.2018 / 17:38
0
answers

Error in creating an instance with jsf-spring-hibernate-mysql

I created in Netbeans a login with hibernate (annotations) and access to MySql but when I added Spring (also with annotations) I got stuck, already in the first attempt Spring does not create the instance of an object (dependency injection) . I...
asked by 20.03.2018 / 02:30
1
answer

Java Modify a property to perform a @Test

By doing some Test in Java I find two problems when trying the function to obtain a file from a folder that is in the properties of the application: The first problem is that when doing the @Test it does not recognize the value extract...
asked by 19.03.2018 / 15:27
0
answers

Insert only new data in BBDD

My problem: 1-I have a REST API that I use a lot of data to insert in an internal database (Process that lasts for hours). 2-The API dumps whole tables or filtered by an attribute (Select * from table where attribute = parameter): ex: www....
asked by 10.03.2018 / 16:20
1
answer

XML validation failed in SPRING

I'm trying to add a reference to a route but when I add it, I'm missing the validation in the IDE And he answers this in console: XML validation started. Checking file:/home/emendez/NetBeansProjects/HorarioSpring/src/main/webapp/WEB-INF/...
asked by 15.03.2018 / 14:57