Skip to content
This repository was archived by the owner on Feb 2, 2020. It is now read-only.

Commit 5c573c5

Browse files
author
RAnders00
committed
Re-add dist zip build artifacts, document config missing error
1 parent 67f7ba5 commit 5c573c5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ For the actual API requests, the proxy passes on your existing sent
3838

3939
You can also set host and address to have the webserver listen on.
4040

41+
Note: If the application.properties is not present in the
42+
working directory, you will get an error message like this:
43+
44+
> `ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'apiResponseController' defined in URL [jar:file:/C:/Users/username/Projects/twitch-api-v3-proxy/build/libs/twitch-api-v3-proxy.jar!/BOOT-INF/classes!/de/zwb3/apiproxy/ApiResponseController.class]: Unexpected exception during bean creation; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'clientId' in value "${clientId}"`
45+
4146
## Run
4247

4348
Ensure you have a Java 8 JRE installed, and run:

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
plugins {
22
id 'java'
3+
id 'application'
34
id "org.springframework.boot" version "2.0.5.RELEASE"
45
id "io.spring.dependency-management" version "1.0.6.RELEASE"
56
}
67

8+
mainClassName = 'de.zwb3.apiproxy.ApiProxy'
9+
710
sourceCompatibility = 1.8
811
targetCompatibility = 1.8
912

0 commit comments

Comments
 (0)