Young4Dream edited a comment on issue #53: URL: https://github.com/apache/servicecomb-samples/issues/53#issuecomment-633232722
不是环境的问题,是spring-boot-maven-plugin的打包方式造成的目录结构与普通jar包不一样,如果按照您README里所述,使用java -jar 启动,是无法访问到静态资源的.而正常情况下,静态资源都是放在jar包中,您给出的使用绝对路径的方式访问,显然不是最好的解决方案. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
