Archive for 'Tools'

Debugging Java Web Applications in Eclipse

Debugging Inside Eclipse The easiest way to debug your Java web application is to create a Server in the Eclipse Servers view and start the Server in Debug mode. For this article, We will use Tomcat 7 as our Server. Your web application must be assigned the Dynamic Web Module Project Facet for this to [...]

ivy.xml for Spring 3

Here’s an ivy.xml with a dependency on Spring MVC. Please fill in the organisation and module attributes. It excludes the Unified Expression Language library because it conflicts with Tomcat 7. Here’s the corresponding ivysettings.xml. It uses the SpringSource Bundle Repository instead of the default Maven repository.

Loader Constraint Violation

If you are using Ivy to manage Spring dependencies and trying to deploy to Tomcat 7, you might have encountered the error. This seems to be a conflict between the javax.el classes. To fix it, just remove javax.el from your Ivy Spring dependency.