| Author |
Getting error in petclinic application for datasource
|
jatan bhavsar
Ranch Hand
Joined: Jul 23, 2008
Posts: 296
|
|
Hi All,
I tried to import the petlinic application in eclipse dynamic web project. I am trying to learn the spring from this.But i am not able to start the project. Getting this Error at the starting the tomcat.
I am using oracle as database and changed the require properties for the oracle.
applicationContext.xml is same as given in the example.
Regards
Jatan
|
 |
jatan bhavsar
Ranch Hand
Joined: Jul 23, 2008
Posts: 296
|
|
Hi All,
Can any one please guide me why i am getting this error in petclinic application?
Any guide line which way should i start looking for.
Getting error while creating data source.
Regards
Jatan
|
 |
Vishal Shaw
Ranch Hand
Joined: Aug 09, 2012
Posts: 179
|
|
Hi Jatan,
It would be better if you can post your configuration files here too. The error seems to be arising from one of your configuration files. Also mention if you are using jndi for your datasource.
|
Programming is about thinking, NOT coding
|
 |
jatan bhavsar
Ranch Hand
Joined: Jul 23, 2008
Posts: 296
|
|
Hi Vishal,
This is my xml file.
Regards
Jatan
|
 |
Bill Gorder
Bartender
Joined: Mar 07, 2010
Posts: 1282
|
|
|
Import the project as an existing maven project, and use maven to build it. I suggest STS for for Spring development if you want to use Eclipse. It has all the stuff you need bundled already.
|
[How To Ask Questions][Read before you PM me]
|
 |
Bill Gorder
Bartender
Joined: Mar 07, 2010
Posts: 1282
|
|
Might I also suggest learning Spring with some newer projects like
https://github.com/SpringSource/greenhouse
or
https://github.com/SpringSource/spring-mvc-showcase
|
 |
 |
|
|
subject: Getting error in petclinic application for datasource
|
|
|