Search code examples
springpluginsstruts2netbeans-7

Has Somebody used struts2-spring-plugin-2.3.4.1.jar on NETBEANS for Struts2 and Spring?


Has anyone tried this? How did you do it? I don't have a pom.xml on my project. Could I insert the values of pom.xml on my other xml like web.xml? I want to use this because I tried just to insert the spring3 library into my struts2 but it seams it don't work unless I'm gonna use the context.getbean("xxxxx")? I want to start from here again using that plugin.

POM.xml as I searched the net is for Maven? I don't know how to use maven. I am using the normal ones. I think it is ANT.


Solution

  • One thing i must say you that do not try to go this way and managing depedencies is too hard and can leads to a lot of conflicts.

    You can look in to the dependencies you need for Struts2 Spring plugin inside the pom.xml defined in the plugin.

    You will find a placeholder namely <version>${struts2.springPlatformVersion}</version> which is being defined at core pom.xml

    Using maven is too easy and will hardly take any time for you to get started but it will take away a lot of manually work for you