Jump to content
We've recently updated our Privacy Statement, available here ×

iReport with Spring 3.1


sharkanana

Recommended Posts

 I'm trying to setup a report using "spring loaded hibernate" dataset.

I'm using spring 3.1 and when have added the spring context folder to the iReport classpath, as well as the 3.1 jar files.

When I test the connection, I get a NoSuchMethodDef error on:

MutablePropertyValue.add(String,Object)

This was added after whatever version is in ireports module spring.jar, and apparantly that jar is being loaded instead of my spring 3.1 jars.

 

I have tried removing ireport's spring.jar from the classpath, and it just reappears when the app is loaded again.

I have also tried creating a spring.jar with 3.1's updated classes, and that didn't work either.

 

How do I work around this? 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

I was wondering if you've managed to get this working yet?

I'm in the same situtation in that I'd really like to use Spring 3.x so that I can reuse other components, definitions, entities, etc, defined elsewhere within my codebase.

I too have tried removing/replacing the (very elderly!) all-in-one spring.jar with a repackaged version, but to no avail.

It's a bit strange that this dependency hasn't been updated, or an option to use an updated version. Spring 2.0.x is a few years out of date now and is surely a well-enough used framework to warrant the time to update.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...