Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error in petclinic application for datasource

 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vishal,

This is my xml file.


Regards
Jatan
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Might I also suggest learning Spring with some newer projects like

https://github.com/SpringSource/greenhouse

or

https://github.com/SpringSource/spring-mvc-showcase
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic