首页 文章

Hystrix仪表板主页加载jquery失败

提问于
浏览
0

我有一个简单的Hystrix Dashboard应用程序,运行在端口8081上,构建在带有@EnableHystrixDashboard注释的Spring Boot应用程序上 .

When I load the page http://localhost:8081/hystrix, I see the home page but with error: GET http://localhost:9001/webjars/jquery/2.1.1/jquery.min.js 404 (), with which I cannot see the monitor page.

我在这里想念任何东西吗?

Another problem is, when I make a Hystrix application also a Hystrix Dashboard and go to http://localhost:8081/hystrix, it will open a download page. Instead I have to go http://localhost:8081/hystrix.stream I can read the text data.

为什么?

1 回答

  • 0

    有一条警告信息:

    [WARNING] error reading .../.m2/repository/org/webjars/jquery/2.1.1/jquery-2.1.1.jar invalid LOC header (bad signature)
    

    转到目录;删除整个存储库文件夹或jquery文件夹;使用Force Update of Snapshots / Releases更新您的项目;做maven清洁和安装;完成 .

相关问题