Author | Message |
---|---|
msargent
Posts: 519
|
Posted 14:51 Jul 15, 2015 |
I tried running the tests that originally came with UserTestDao.java and I got the above error. I double checked the table in pgAdmin and an email column was in the users table. Backstory: I tried changing package names (and the references in applicationContext.xml for base-package) but kept running into missing bean errors. I changed the packages and config files back to what they were after following the guides; no missing bean errors, but I get the above instead. Any suggestions? |
cysun
Posts: 2935
|
Posted 14:56 Jul 15, 2015 |
If I have to guess, I'd say your code is using the wrong database - for example, springmvc instead of csjobs. Check the db url in applicationContext.xml under src/test/resources. |
msargent
Posts: 519
|
Posted 15:46 Jul 15, 2015 |
I had the right url, but the app is still trying to access the springmvc database. Anyway, I'm on the right track now. |