Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Spring
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Liutauras Vilda
Paul Clapham
Sheriffs:
paul wheaton
Tim Cooke
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Piet Souris
Bartenders:
Mike London
Forum:
Spring
new XmlBeanFactory(new FileInputStream("hello.xml")); error
sudheer kiran
Ranch Hand
Posts: 237
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
BeanFactory factory = new XmlBeanFactory(new FileInputStream("hello.xml"));
error in this line is there is no constructor.
i am following Spring in action book ,the very first example has these code.
also how wud i know which version of spring jar file i am using.thanks.
Sudheer
SCWCD, SCJP 5
Freddy Wong
Ranch Hand
Posts: 959
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is the error?
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
sudheer kiran
Ranch Hand
Posts: 237
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks i got the solution
i may be using old version in which constructor for XmlBeanFactory is not there so i replaced with
((new FileInputStream("hello.xml")));
Sudheer
SCWCD, SCJP 5
sudheer kiran
Ranch Hand
Posts: 237
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks i got the solution
i may be using old version in which constructor for XmlBeanFactory is not there so i replaced with
new XmlBeanFactory(new InputStreamResource(new FileInputStream("D:/workspace/SpringProject/src/pack1/hello.xml")));
Sudheer
SCWCD, SCJP 5
sudheer kiran
Ranch Hand
Posts: 237
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks
Sudheer
SCWCD, SCJP 5
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Is there a good Spring book?
Loading the Bean in two different ways
spring inside eclipse
Error While Executing a sample spring application
Problem with "Spring in Action" Book First Example
More...