-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathREADME
44 lines (30 loc) · 1.48 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
examples of spring-framework from http://babdev.blogspot.co.at
To Build :
Change to the sub project root directory, and issue the mvn package command.
>cd <sub-project-root>
>mvn package
TroubleShooting :
Problem :
STS gives an error, "Dynamic Web Module 3.0 requires Java 1.6 or newer”
Solution :
http://qussay.com/2013/09/13/solving-dynamic-web-module-3-0-requires-java-1-6-or-newer-in-maven-projects/
1) Check that your project is configured to use Java 1.7.
Right click your project > Properties > Java Compiler and set “Compiler compliance level” to 1.7.
2) Next select Project Facets > Java and set its version to 1.7
If you didn’t find 1.7, add it to eclipse :
Navigate to eclipse Preferences > Java > Installed JREs, click Add, and locate your installed Java path.
3) Open your project’s pom.xml and add this plugin tag
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
4) Finally, right click on your project > Maven > Update Project…