Home Answers Viewqa Spring Spring Question and Answers


Latest Questions for Spring
Spring bean annotation example
Hi, How to configure Bean using annotation in Spring Framework? Thank
April 25, 2017 at 10:12 PM

Spring 5 Framework maven pom.xml
Hi, Spring 5 is already released in its Milestone releases. How the latest version of spring dependencies can be added to the maven based project. What is the code for Spring 5 Framework in maven's pom.xml file? Thanks
April 25, 2017 at 3:47 AM

java.lang.NoClassDefFoundError: org/springframework/transaction/interceptor/TransactionInterceptor
Hi, In my Spring Framework project we are getting following error: java.lang.NoClassDefFoundError: org/springframework/transaction/interceptor/TransactionInterceptor I have the required files but its not working. Ho
April 25, 2017 at 12:26 AM

Spring boot java.lang.NoClassDefFoundError: org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor
Hi, I am working on a spring boot project and its throwing following error: Spring boot java.lang.NoClassDefFoundError: org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor java.lang.NoClassDefFoundErr
April 25, 2017 at 12:21 AM

How to validate form using Spring MVC?
Hi, I want to validate a form in Spring MVC using the annotation. How to validate a form in Spring MVC. I have form class for username, password, address, and few other fields. How to validate form using Spring MVC? How to
April 11, 2017 at 9:44 PM

Spring Framework Tutorials 2017
Hi, Which version of Spring Framework I should learn in 2017? I need links of Spring Framework Tutorials. Thanks
April 4, 2017 at 9:34 AM

Is Spring Framework dead?
Hi, Is Spring Framework dead? Is there any value of learning the Spring Framework? Thanks
April 2, 2017 at 10:24 PM

spring inteview question
how controller read the bean data in spring framework
November 14, 2016 at 11:10 AM

You Spring Project is not running
Hi Team, I'm trying to run the following project for which i have shared the link below:- http://www.roseindia.net/spring/spring4/login-form-using-spring-mvc-and-hibernate.shtml I have tried installing it on my eclipse but
October 17, 2016 at 1:18 AM

java lang incompatibleclasschangeerror quartz spring - Error resolved
Hi, I am developing module for using the Quartz scheduler with Spring web application. On startup it gives following error: Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.scheduli
August 19, 2016 at 11:59 PM

exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
Hi, In my web application following error is coming: exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined org.springframework.beans.fa
May 5, 2016 at 1:29 AM

The import javax.validation cannot be resolved
Hi, I have a web application and due to missing maven dependency it is giving following error in Eclipse: The import javax.validation cannot be resolved. What maven dependency should I add to resolve this error? Tha
April 21, 2016 at 4:10 AM

java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/SharedCacheMode
Hi, In my Spring application following error is coming at startup time: java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/SharedCacheMode
April 20, 2016 at 8:04 AM

java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence
Hi, In my spring web application i am getting this error: java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence Full detail of the error is: [WA
April 20, 2016 at 7:26 AM

Solving java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.LocalSessionFactoryBean issue
Solving java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.LocalSessionFactoryBean issue In my Spring Hibernate based application following error is coming: java.lang.ClassNotFoundException:
February 15, 2016 at 11:09 PM

What is the maven dependency for spring batch?
Hi, I have a project and I downloaded the example code of running the batch program in Eclipse. But it is not able to find the following classes: import org.springframework.batch.core.StepContribution; import
October 20, 2015 at 4:00 AM

Hibernate Session Attribute
How can I get sub-string/int value from session.getAttribute("String"); ? I am trying to get it and my code is- Integer userCreate = (Integer) session.getAttribute ("USERID"); But this is not working to me. Please help me in this r
September 1, 2015 at 2:33 AM

java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean
HI, In my one of the application following error is coming: SEVERE: Allocate exception for servlet dispatcher java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.annotation.AnnotationSessionFa
July 25, 2015 at 11:08 AM

nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource
Hi, I am getting the following error while starting a web application: nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource How to
July 25, 2015 at 11:00 AM

Spring mvc with jdbcTemplate.i want to write mock testing how do i write please give me one simple code example for me
February 16, 2015 at 11:51 PM

View all discussion for Spring