java - multiple issues with spring tool suite 3.6.3 release -


i have wanted learn spring mvc , took @ javavids - youtube, wanted follow along series have multiple problems/issues first rebuild global repo in maven repositories

solved

enter image description here

then created maven project structure in videos

enter image description here

but have instead

solved

enter image description here

ok want add plugins pom.xml getting dialog in videos shows :

update
enter image description here
don't plug-in select
enter image description here
solved
have compiler compliance enter image description here when set compiler java 1.7
solved
enter image description here

and @ last when tried update sts 3.6.3 freezes , shows enter image description here
ok
have proxy settings

enter image description here

update make changes , add dependency according answer
error:
enter image description here
now don't see resources can me these remaining issues resolved! highly appreciated.

first maven default compiler level set 1.5. in order set 1.7 either configure maven-compiler-plugin

<plugin>         <groupid>org.apache.maven.plugins</groupid>         <artifactid>maven-compiler-plugin</artifactid>         <version>3.3</version>         <configuration>           <source>1.7</source>           <target>1.7</target>         </configuration> </plugin> 

or add following properties.

<properties>     <maven.compiler.source>1.7</maven.compiler.source>     <maven.compiler.target>1.7</maven.compiler.target> </properties> 

after setting java version press alt+f5 update maven project.

in order search dependency or plugins go window -> preferences -> maven , check download repository index update on startup

restart sts, wait index updates complete.

regarding project structure check have <packaging>war</packaging> in pom.xml. default jar type.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -