Getting Error While Using The Spring MVC with orm
15 Replies
⌛ This post has been reserved for your question.
Hey @Danix! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
hey @Peter Rader
No qualifying bean of type 'com.controllersDatabase.DaoEntityImp' indicates that the repository is not instanticated throu spring. The xml-config misses the repository-configuration.
Add the repository configuration to the xml-configuration.how to do it btw?
Try to add
<repositories base-package="com.controllersDatabase" />to the config
(see https://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html#title=it is giving syntax error

Check the link I posted here. Check the xsi:schemaLocation settings.
i am not using the Spring JPA i am using Spring Wth Orm
Ah, ok. Then you dont need to add the xml-config.
Your config sais spring should scan and instanticate types in
com.controllersDatabase. For some reason spring does not create an object from the DaoEntityImp type. I dont know why but I can guess ... Try to add @Bean to the DaoEntityImp.but i am doing spring xml config
@Peter Rader
And your springxml sais it should scan the package
com.controllersDatabase.
bro still facing the same issue
@Peter Rader
The
@Bean did not help?💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.