Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Spring Hi Rose India
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Manuel Fuentes
Hi Rose India
1 Answer(s)      3 years and 7 months ago
Posted in : Spring


Hi all, sorry if this is not the pright place to post this...

im facing a trouble with constructor arguments, because i need to set 2 diferent constructor-arg in 1 bean:

my applicationContext-dao.xml looks like this:

<bean id="tablesDao" class="sv.com.proyect.dao.hibernate.Hbm">
    <constructor-arg value="sv.com.proyect.model.tdc.TipoDeCuentaContable"/>
    <constructor-arg value="sv.com.proyect.model.tdc.TipoDeCuentaPresupuestaria"/>
    <property name="sessionFactory" ref="sessionFactory"/>
</bean>

when i run the web proyect, i get this message on the web:

2 constructor arguments specified but no matching constructor found in bean
'tablesDao' (hint: specify index and/or type arguments for simple parameters 
to avoid type ambiguities)

i would appreciate any idea or help on this

Thanks in advance!!!

Turk182


Advertisement
View Answers

June 17, 2011 at 2:39 PM


Please go through the following link:

Spring Tutorials



Related Tutorials/Questions & Answers:
Hi Rose India
Hi Rose India  Hi all, sorry if this is not the pright place to post this... im facing a trouble with constructor arguments, because i need to set 2 diferent constructor-arg in 1 bean: my applicationContext-dao.xml looks like
Rose India Stateless Session Bean Example Question
Rose India Stateless Session Bean Example Question  Hi Team, Is this example can be compiled using NetBeans and Glass Fish ? Actually, in descriptor .xml file it is shown that it can be run by using JBoss and Apache Ant. If I
Advertisements
Contact Us, Contact Rose India
Contact Us Rose India is an eminent Software firm that also provides..., Content development and Copy writing. Besides this, Rose India organization... training services. Address: Rose India
Rose India Online/Onsite HTML Training Course
Rose India Online/Onsite HTML Training Course     Welcome to Rose India Online/Onsite HTML Training Course. As you... can be written and edited on any type of computer. Rose India offers a six-day
How can i download these java related materials from rose india
How can i download these java related materials from rose india  How can i download these java related materials from rose india   Hello Friend, In every section of the website, there is download option. Just go
Jobs, Jobs at Rose India, Apply For Jobs, Apply Online
Jobs at Rose India       Currently we are in need for some professionals both experienced and fresher in different fields and so have opening for the following positions. 
Jobs at Rose India
Jobs at Rose India      ... wish to learn as per your convenience. Rose India provides customized and cost..., Rose India is involved in a number of ongoing activities like web developing
J2ME Jobs in India at Rose India
J2ME Jobs in India at Rose India       Company Profile: We are one of the well-known software development companies in India. We are involved in the development
Jobs at Rose India
Jobs at Rose India      ... wish to learn as per your convenience. Rose India provides customized and cost..., Rose India is involved in a number of ongoing activities like web developing
Senior Java Developer Jobs at Rose India
Senior Java Developer Jobs at Rose India       Rose India is looking for Senior Java Developers to immediately start on Java projects. The senior Java
Rose India ? About Us
Rose India – About Us Roseindia Technologies Pvt Ltd is a Delhi based renowned Software Technology Company in India that offers a wide range... in India for offering Website designing services. We are dedicated to deliver
Our Solutions, Rose India Software solutions, Software Solutions
Solutions Rose India offers a comprehensive range of software... assistance for offshore development of projects. Rose India offers the following range of enterprise services and solutions
E-Commerce and E-Business IT Solutions from Rose India
E-Commerce Solutions Rose India E Commerce and Online Shopping Solutions... craze that is bound to continue for a long time to come. Rose India offers custom.... At Rose India we understand what it takes to setup a successful online
Welcome to Rose Indias Programmers Blog
Welcome to Rose India?s Programmers Blog! Our new blog section will discuss about technology, Software development processes, open-source software, and everything related to the programming. We will be adding technology news and articles
iPad Application Development in India
and iPhone application development work. We at Rose India Technologies work... iPad Application Development in India We provide iPad Application Development service in India. Get your iPad and iPhone application developed in India
Rose India ? An Exciting New Concept towards Working from Home
Rose India – An Exciting New Concept towards Working from Home... working from the comfort of your home? Rose India may just be the right kind of success mantra that u need. What Is Rose India? Rose India is has
Hi,
Hi,  Hi,what is the purpose of hash table
Hi..
Hi..   what are the keywords available in simple HelloWorld program
Hi..
Hi..  what are access specifier available in java
Hi,
Hi,   labels = new Hashtable<Integer,JLabel>
HI.
HI.  hi,plz send me the code for me using search button bind the data from data base in dropdownlist
Hi..
Hi..  null is a keyword.True/False?   hi friend, In Java true, false and null are not a Java keyword they are literals in Java. For reading in detail go through the following link The null keyword
hi....
hi....  plzz sent me d code for counting vowels in a string... gui programme
Hi
Hi  Hi How to implement I18N concept in struts 1.3? Please reply to me
Hi
Hi  Hi this is really good example to beginners who is learning struts2.0 thanks
hi,
hi,  print("code sample");how to display all elements in 2d array usin any one loop
Hi
Hi   how to read collection obj from jsp to servlet and from jsp - jsp?   Hi Friend, Please visit the following link: http://www.roseindia.net/jsp/servlet-jsp-data-list.shtml Thanks
hi....
hi....  a programme which displays a combobox which contains num from 1 to 10 and calculates the factorial of dt num which user clicks
Hi
Hi  I want import txt fayl java.please say me...   Hi, Please clarify your problem! Thanks
hi
hi   I have connected mysql with jsp in linux and i have used JDBC connectivity but when i run the program, its not working the program is displaying
hi
hi   'print("code sample");`class example(){ public.static.void.main(); system.out.println("this is first pro");}   class example{ public static void main(String[]args){ System.out.println("this is first pro
 

 

 

DMCA.com