In a Spring 3.0 configuration file, I have:
This gets me an error in STS 2.5.1: “No constructor with 1 argument defined in class ‘org.springframework.jdbc.config.SortedResourcesFa ctoryBean’”Code:<jdbc:embedded-database id="dataSource"> <jdbc:script location="classpath:rewards/testdb/schema.sql"/> <jdbc:script location="classpath:rewards/testdb/test-data.sql"/> </jdbc:embedded-database>
This same project worked in a previous setup, with STS 2.3.3 (in fact, it's part of the Core Spring training materials). I'm sure it's something stupid I did, but I just don't have the first clue where to start working around this. Help interpreting this and pointing me in the right direction? Thanks.


Reply With Quote