How to add bean configuration file in an eclipse-based Spring project?
Solution 1
- Help > Eclipse market
- Type spring and search
- Find Spring IDE Roo Support and click install
- Accept terms and click finish
- Restart Eclipse
- File > New > Others > Spring > Spring Bean configuration file
Solution 2
1.Help > Eclipse market 2.Type spring and search 3.Find Spring Tools 3 Add-On for Spring Tools 4 and click install 4.Accept terms and click finish 5.Restart Eclipse 6.File > New > Others > Spring > Spring Bean configuration file
Arefe
Updated on September 29, 2020Comments
-
Arefe over 3 years
I started to work on a Spring project from scratch and while I was trying to add a new Spring bean configuration file, I just don't see it there. The project structure and the selection wizard is as following,
Figure: No Spring section here in the selection wizard
How to add a bean configuration file in the project ? I tried to get a template and add in the project. However, I don't see the different tabs (such as, mvc, context etc ) in the file page. The maven dependencies are fine and it's dynamic web project. I also tried with maven-archetype-webapp as starting point of the project.
-
HaveSpacesuit almost 7 yearsWelcome to StackOverflow. Thank you for taking the time to provide a useful answer as well! Check out the site tour to get your first badge.
-
Ajoe almost 7 yearsI tried doing this, but it is showing a window which is asking to uninstall some features in eclipse and install Spring related thing. Does this affect other projects in my workspace?
-
Leslie over 2 yearsIt should be Spring Tools 3 Add-On for Spring Tools 4 instead of Spring tool suite