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

View file

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