update jave version to 1.8

add helpful message in Runner
This commit is contained in:
Erik Forkalsrud 2021-02-20 15:43:42 -08:00
parent b0b138a439
commit fe165ca271
2 changed files with 7 additions and 3 deletions

View file

@ -38,8 +38,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
@ -48,6 +48,8 @@
<version>6.1.14</version>
<configuration>
<contextPath>photo</contextPath>
<stopKey/>
<stopPort/>
</configuration>
</plugin>
<plugin>
@ -183,7 +185,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.7</version>
<scope>runtime</scope>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>

View file

@ -21,6 +21,8 @@ public class Runner {
server.setHandler(context);
server.start();
System.out.println("Visit http://localhost:8080/photo/album/");
server.join();
}