Questions tagged as 'spring'

0
answers

Integration test send email [closed]

Today I have a system that sends multiple emails. Many settings and submission rules. I need to add some 50 new rules, new emails Time formats with attached file, images, and more. As it is today, I use an email server to authenticate...
asked by 26.01.2017 / 18:20
1
answer

Bug when starting tomcat

Good evening guys, I started to study the book of the code house, spring mvc, but soon I faced the following error when trying to start the tom cat, can anyone help? jan 23, 2017 9:19:31 PM org.apache.tomcat.util.digester.SetPropertiesRule...
asked by 24.01.2017 / 00:25
1
answer

How to validate attributes in Spring Batch

I'm working with Spring Batch . In my batch processing, my reader needs to read a .csv file. When I read the file, I have a class that represents each line, and I would like to know how to validate the input data. I know that Spring...
asked by 31.01.2017 / 14:27
1
answer

Error trying to call Controller through View - SpringMVC

I'm developing a system using SpringMVC, when trying to make a call to the controller using the "s: mvcUrl" statement in the JSP the HTTP 404 error is displayed. I noticed that spring does not transform the "s: mvcUrl" statement into html....
asked by 28.12.2016 / 13:21
0
answers

TestNG FacesContext.getCurrentInstance () return null

I'm running around a test in FacesContext.getCurrentInstance () is returning null. Environment: Spring 4.3 JSF 2.2 Scope view Escope view is custom for Spring This is scope class, it works public class MyClass implements Scope{...
asked by 31.01.2017 / 19:16
0
answers

Integration between SpringSecurity and SpringData to use SpEL

Good afternoon I'm creating a routine where I need to use Spel to access Authentication data directly in the SpringData @Query, I followed the SpringData tutorial itself to perform the configuration: SpringData with SpEL After followi...
asked by 13.12.2016 / 17:08
1
answer

Configuration file

I have a legacy web (war) application where various environment settings are arranged in XML files, eg the DB path is in context.xml <Context path="/Base" reloadable="true" crossContext="true"> <Resource name="jdbc...
asked by 15.12.2016 / 02:34
0
answers

Spring DevTools does not work

Well, I'm starting to develop a small project for learning in Spring and I have a problem with one of the POM settings: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <art...
asked by 09.12.2016 / 15:58
1
answer

Difference of character enconding Charset difference using JPA but not with prepared statement

I have an application using spring boot + oracle (via tomcat datasource). Using spring-data, a simple query in a table returns characters with an encoding problem. This same application, in a very specific situation, I create a direct (no dat...
asked by 23.12.2016 / 01:13
1
answer

Date arriving incorrect

I have the following problem here: I have a request that I make through ajax, and I send a date for it, java receives and saves it in the database, but the date that arrives in java is different from the one I sent. Follow the codes: Home Ajax r...
asked by 21.12.2016 / 22:10