We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5c0a77 commit 67fe552Copy full SHA for 67fe552
jdk_8_maven/cs/rest/original/swagger-petstore/src/main/java/io/swagger/petstore/Main.java
@@ -13,6 +13,10 @@ public class Main {
13
14
public void startServer(int port) throws Exception {
15
tomcat = new Tomcat();
16
+
17
+ String tmpDir = System.getProperty("java.io.tmpdir");
18
+ tomcat.setBaseDir(tmpDir);
19
20
tomcat.setPort(port);
21
tomcat.getConnector();
22
URL webappUrl = Main.class.getClassLoader().getResource("webapp");
0 commit comments