File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Getting error in petclinic application for datasource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Getting error in petclinic application for datasource " Watch "Getting error in petclinic application for datasource " New topic
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: 1632
    
    7

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: 1632
    
    7

Might I also suggest learning Spring with some newer projects like

https://github.com/SpringSource/greenhouse

or

https://github.com/SpringSource/spring-mvc-showcase
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting error in petclinic application for datasource
 
Similar Threads
spring 2.5.3 / hibernate 3 sessionFactory NullPointerException
AOP logging throws exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'id' is defined
Web application
Spring AOP HELP needed