Hi,
I am trying below example
http://www.mkyong.com/struts/struts-spring-hibernate-integration-example/
When i do
maven clean all is fine.
when i do maven install i am getting below error.
[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building StrutsExample Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
[INFO] Downloaded:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom (7 KB at 5.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.369 s
[INFO] Finished at: 2016-06-30T22:33:51-04:00
[INFO] Final Memory: 11M/164M
[INFO] ------------------------------------------------------------------------
Failed to execute goal on project StrutsSpringExample: Could not resolve dependencies for project com.mkyong.common:StrutsSpringExample:war:1.0-SNAPSHOT: Failure to find javax.transaction:jta:jar:1.0.1B in
http://download.java.net/maven/2/ was cached in the local repository, resolution will not be reattempted until the update interval of Java.Net has elapsed or updates are forced -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
please advise on how to fix this.