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
then created maven project structure in videos
but have instead
solved
ok want add plugins pom.xml getting dialog in videos shows :
update
don't plug-in select
solved
have compiler compliance when set compiler java 1.7
solved
and @ last when tried update sts 3.6.3 freezes , shows
ok
have proxy settings
update make changes , add dependency according answer
error:
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
Post a Comment