Category Archives: Spring

Using Spring to populate Hazelcast Map at Start-up

The application I work on has been using Hazelcast for awhile now, but today we had a new scenario where we wanted to initially populate the Hazelcast Map from a relational database but did not want the our Map to … Continue reading

Posted in Hazelcast, Spring | Tagged , | Leave a comment

Spring Boot Web Application – Starting in Eclipse

I am going through the Spring Boot Getting Started Tutorial and trying to follow the steps in Eclipse (and not STS).  I made it to the end and was thrown off a little by how to “start” it up. I … Continue reading

Posted in Eclipse, Maven, Spring, Spring Boot, Tomcat | Tagged , , , , | 3 Comments

Spring Boot Application and Tomcat error: A child container failed during start

I was attempting to create my first Spring Boot web application this afternoon by following the Spring Boot Getting Started Tutorial on spring.io, yet attempting to do the steps in Eclipse Luna with Java 8 and an embedded Tomcat 7 server. … Continue reading

Posted in Java 8, Maven, Spring, Spring Boot, Tomcat | Tagged , , , , | 7 Comments

Upgrading from Spring 2.5 to 3.1

I spent a couple hours yesterday upgrading my applications from Spring 2.5.5 to Spring 3.1.1.  As described in the Spring 3.1 documentation, I replaced my Spring 2.5.5 spring.jar with the appropriate org.springframework.<module>-3.1.1.RELEASE.jar files. The only error I encountered was when … Continue reading

Posted in Spring, Tomcat | Tagged , | Leave a comment

Tomcat Spring Error with ContextLoaderListener: NoClassDefFoundError: org/apache/commons/logging/LogFactory

Today I going back to an old web application that contained a simple servlet.  I wanted to quickly add Spring to the project.  Since the project was not making use of Maven, I just put the necessary org.springframework.<module>-3.1.0.RELEASE.jar files in … Continue reading

Posted in Spring, Tomcat | Tagged , | 2 Comments