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

Spring Loaded Hibernate Connection


hussainkali

Recommended Posts

Hi,

I'm totally new to iReports and JasperReports and have been trying to get iReports working with an existing project.  I have added the directory containing the Spring configuration to the class path (this directory also contains datasource.properties).

I try to create a new Spring Loaded Hibernate Connection by providing the application-config.xml filename and the sessionFactory beanID, however, I get the following error message:

"Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [com/..../datasource.properties] cannot be opened because it does not exist."

The file clearly does exist and I have no problems accessing my data in my application.

Is anyone able to help?

Thanks in advance,

Hussain Ali

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...