apisix-java-plugin-runner icon indicating copy to clipboard operation
apisix-java-plugin-runner copied to clipboard

request help: can't create jar file

Open Cheol-Soon-Choi opened this issue 2 years ago • 2 comments

Issue description

According to the reference document(https://github.com/apache/apisix-java-plugin-runner/blob/main/docs/en/latest/installation-guide.md), it is not possible to create an executable jar file.

my step is

  1. Clone the java-plugin-runner-demo-1 repo presented as an example(https://github.com/tzssangglass/java-plugin-runner-demo-1)
  2. After implementing the custom filter, run /mvnw package.
  3. (mac)no next step

@tzssangglass How can I create a spring jar file that implements a custom filter?

Environment

  • your apisix-java-plugin-runner version : 0.3.0

Cheol-Soon-Choi avatar Oct 16 '22 15:10 Cheol-Soon-Choi

@tzssangglass

mac log [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.example.demo.DemoApplicationTests

. ____ _ __ _ _ /\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) ) ' |
| .__|| ||| |_, | / / / / =========||==============|/=//// :: Spring Boot :: (v2.7.1)

2022-10-17 09:02:01.737 INFO 4311 --- [ main] c.e.d.DemoApplicationTests : Starting DemoApplicationTests using Java 11.0.11 on ccsqpt.local with PID 4311 (started by ccs in /Users/ccs/java-plugin-runner-demo-1) 2022-10-17 09:02:01.740 INFO 4311 --- [ main] c.e.d.DemoApplicationTests : No active profile set, falling back to 1 default profile: "default" 2022-10-17 09:02:02.922 INFO 4311 --- [ main] c.e.d.DemoApplicationTests : Started DemoApplicationTests in 1.745 seconds (JVM running for 3.738) 2022-10-17 09:02:03.479 WARN 4311 --- [ main] o.a.a.p.r.s.ApplicationRunner : java runner is listening on the socket file: /tmp/runner.sock

Cheol-Soon-Choi avatar Oct 17 '22 00:10 Cheol-Soon-Choi

I have update tzssangglass/java-plugin-runner-demo-1, pls read: https://github.com/tzssangglass/java-plugin-runner-demo-1#user-guide

tzssangglass avatar Oct 18 '22 15:10 tzssangglass