基于sample中springboot样例构建复杂springboot应用后读取外部配置文件失败
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, java, spring-boot
Research direction
Start with the Dockerfile CMD and its Java launch arguments, then compare them with the sample application's enclave and host pom.xml files and the expected external application.yml location. Reproduce the failure with teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04 and confirm that the built application reads the external configuration file successfully.
Written by the indexing model from the issue text.
Description
构建镜像为teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04,enclave和host子模块的pom.xml(构建部分)都没有改动。
Dockerfile中的启动选项为:
CMD ["java", "-cp", "-Dspring.config.location=file:./application.yml", "host-1.0-SNAPSHOT-with-dependency.jar:enclave-1.0-SNAPSHOT-with-dependency.jar", "com.XXX.host.MainAppication"]
- Dominant language
- Java
- Stars
- 67
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/teaclave-java-tee-sdk
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
apache/teaclave-java-tee-sdk#44 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
工厂创建TEE_SDK模式空指针Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apache/teaclave-java-tee-sdk#38 · 7 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
apache/teaclave-java-tee-sdk#37 · 2 comments ·
All issues in apache/teaclave-java-tee-sdk
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oracle/javavscode#652 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenAPITools/openapi-generator#25014 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
AloisSeckar/demos-java#380 ·