JHipster prod配置文件构建错误

时间:2015-02-02 22:28:24

标签: angularjs spring-boot karma-runner jhipster

当我尝试运行mvn -Pprod spring-boot:run时,我收到此错误:

  

跑步"业力:单位" (业力)任务INFO [业力]:业力v0.12.31服务器   从http://localhost:9876/ INFO [launcher]开始:启动浏览器   PhantomJS INFO [PhantomJS 1.9.8(Mac OS X)]:连接在套接字上   efv9WlKx2MFU9eZQOn6q,ID 32802763 DUMP:' background-image:   初始;背景附件:初始; background-origin:initial;   background-clip:initial; background-color:rgb(153,255,0);   背景位置:初始初始; background-repeat:initial   初始; ' PhantomJS 1.9.8(Mac OS X)服务测试Auth应该调用   注销后端然后调用authServerProvider.logout FAILED错误:   不满意的请求:GET / api / account \?cacheBuster = \ d + / at   /Users/fontanellif/jhipster-sql/src/main/webapp/bower_components/angular-mocks/angular-mocks.js:1559   在   /Users/fontanellif/jhipster-sql/src/main/webapp/bower_components/angular-mocks/angular-mocks.js:1538   在   /Users/fontanellif/jhipster-sql/src/test/javascript/spec/components/auth/authServicesSpec.js:45   错误:不满意的请求:GET / api / account \?cacheBuster = \ d + / at   /Users/fontanellif/jhipster-sql/src/main/webapp/bower_components/angular-mocks/angular-mocks.js:1559   在   /Users/fontanellif/jhipster-sql/src/test/javascript/spec/components/auth/authServicesSpec.js:32   PhantomJS 1.9.8(Mac OS X):执行8个中的8个(1个失败)(0.009秒/   0.257秒)警告:任务"业力:单位"失败。使用--force继续。

我不修改项目代码,只需使用jhipster生成器创建它,然后运行命令。

0 个答案:

没有答案