Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I update Spring and Hibernate libraries in NetBeans IDE?

Probably, it's a common and obvious issue, but I couldn't find the answer, so, a short tutorial or a link would be appreciated. My NetBeans has been recently updated, but if I create a new project, that uses Spring and Hibernate, the IDE provides options for Spring 3.0.2 (and even 2.5.6) and Hibernate 3.2.5. Of course, I could add manualy all the new libraries for each project, but it doesn't seem like a good idea. Just in case it's important, I use Ubuntu.

like image 429
John Doe Avatar asked Mar 01 '12 21:03

John Doe


People also ask

Does NetBeans support spring?

NetBeans IDE provides templates for various Spring artifacts, including the Spring XML Configuration File, the `AbstractController`, and the `SimpleFormController`.

Can I use spring boot in NetBeans?

To run the Spring Boot app inside Netbeans IDE, just click on the play button in the toolbar or right-click the project name in the Project panel then click run. It's the same as typing this command from the terminal. Here the full Spring Boot MVC Java web app looks like.


1 Answers

I think I've found a way to do that. In NetBeans's menu Tools/Libraries there are options for creating new libraries and adding its jar files or folders. I tried to add new Spring libraries (I didn't have a chance to put spaces in its name) and they appeared as an option of Spring MVC version when creating a new project.

like image 88
John Doe Avatar answered Nov 15 '22 08:11

John Doe