You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/05/24 13:46:50 UTC

[GitHub] [servicecomb-samples] Young4Dream edited a comment on issue #53: 静态资源访问不了

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 启动,是无法访问到静态资源的.
   目前唯一能想到的就是使用maven插件把ui文件夹拷贝到当前系统的指定位置,再为gateway.webroot赋上相应的值,但这显然不是最好的办法.


----------------------------------------------------------------
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:
users@infra.apache.org