Comments (3)
@zhuruiqi 请问能介绍一下将前端资源打成jar,后端通过依赖前端包达到单纯启动后端的springboot应用就全盘启动效果的方法吗(后端项目的pom中并没有webjars的依赖,特此请教)
from webide.
异常原因定位为4个异常URL请求
打开127.0.0.1:8080时候,有五个请求
127.0.0.1:8080的GET请求成功,描述了页面结构并显式定义了head内容
http://webpackruntime.8de2cb1ce36c7d04f768.js/
http://vendor.6c9d2875d844b6c4e632.js/
http://workspaces.3f88bc58234906fa63e9.js/
http://favicon.ico/
以上静态资源在项目目录中都可以找到,运行时的请求路径异常原因不明
from webide.
“ctrl+C之后再执行./ide.sh run,启动之后页面空白”的问题没能复现,估计是运行环境有差异,推荐用 ubuntu 虚拟机,windows 下我们这边没跑起来过。
后端项目的 pom 中是有 webjars 依赖的,要找一找,可能是其他依赖的间接依赖。
from webide.
Related Issues (20)
- 执行build脚本报错 HOT 16
- 用docker运行,点open进入空白页面该怎么办?
- 启动后前端页面是空白页面
- 项目的webssh采用什么进行数据传输的? HOT 2
- 编译运行的时候JSON解析错误
- 还有前端的开发者在吗 HOT 4
- 运行卡住了 HOT 1
- 根据现有的代码 构建了一个 alpine edge 的镜像版本 需要的自取
- 成功build,但是无法运行 HOT 2
- shell(终端)打不开 HOT 4
- 前端通过yarn start运行后,浏览器报http://ide.test:8060/sockjs-node/info net::ERR_NAME_NOT_RESOLVED HOT 1
- v 0.16.1 终端打不开 HOT 2
- 搭建时卡在一半
- 本地搭建成功了,如何执行代码,和调试代码? HOT 2
- 搭建不成功,卡在95% HOT 2
- 代码提示 HOT 1
- 拉取子项目时候clone一直没有反应
- 执行拉取子代码时候clone一直没反应
- 谷歌誓言登录
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webide.