Questions tagged as 'spring'

1
answer

Difference between getRootConfigClasses and getServletConfigClasses

What is the fundamental difference between initializing the Spring configuration classes in getRootConfigClasses and getServletConfigClasses in the WebInitializer class? I have tried changing the initialization of my configuration class...
asked by 21.03.2017 / 17:27
1
answer

appContext.getBean gives me a proxy and not the manager object I'm looking for

Good, I am retouching an old application and I need to make a call to the database to retrieve an information. It is made in java, spring and hibernate. I have these variables. @Autowired private ApplicationContext appContext; privat...
asked by 06.03.2017 / 18:00
1
answer

Consultation with relational model of personal project - JHipster

Hello, how are you? I wanted to make a query, build the basic project with jhipster 4, and even there all right, but now I want to go adding tables of my model of an app that I did in another project, and I can not find the way to make the table...
asked by 09.03.2017 / 23:07
0
answers

Problems creating a project in Eclipse Kleper with spring

When I created a project in Eclipse Kleper to use spring I generated a couple of errors, I read that installing Tomcat would not have problems but it still generates me.    Error 1: An internal error occurred during: "Validating Practice"....
asked by 08.02.2017 / 22:02
2
answers

Fill combo box using Spring MVC

I'm starting with spring mvc and I would like to know how to fill select , I have seen examples on the Internet but they are not very clear, I do not know if there is a simple and clear way, I know that the form:options is used but...
asked by 14.03.2017 / 21:11
1
answer

How to schedule tasks in Java EE 7 [closed]

I have a web app made in Java EE 7, I want to know how I can include scheduled tasks in it, I have reviewed Scheduling Tasks but what I still do not understand is about where I configure that, in what configuration file I should do it and how I...
asked by 31.01.2017 / 18:00
1
answer

Problem with JSF, Spring and Hibernate driver

I am developing with JSF, Spring and hibernate and I can not create a Controller with my own methods to be able to call them from the xhtml, this is my code HomeController.java @ManagedBean public class HomeController implements Serializabl...
asked by 26.01.2017 / 21:26
1
answer

The ApplicationContext interface of spring framework (Eclipse IDE) does not exist

I'm trying to start Spring creating a project and I'm trying to instantiate the interface ApplicationContext of Spring and Eclipse , it does not recognize me It's as if it did not exist. Here is my pom.xml : <project xmlns="...
asked by 01.12.2016 / 20:35
1
answer

Problems with combo-box that sends jsp of closing session

I wanted to see if they could help me, what happens is that I do not want to be redirected to the combobox when the session has finished but that of "Ups A problem has occurred etc ..." I painted it on the whole screen, somehow of being able to...
asked by 08.12.2016 / 23:11
0
answers

Share entityManager between projects

I have a project in which I am using spring and persistence. I am managing @Transactional , but there is an external project which is going to be used for common operations in the database and I am sending the entityManager with whi...
asked by 25.11.2016 / 19:54