apache / apache/teaclave-java-tee-sdk
基于sample中springboot样例构建复杂springboot应用后读取外部配置文件失败
- Dominant language
- Java
- Stars
- 67
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
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"]
`
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
- Tech stack
- docker, java, spring-boot
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100