You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/webx/citrus-sample.git
cd citrus-sample/petstore
mvn clean install
cd web
mvn jetty:run-war
进行操作之后,报下面错误,但是可以启动:
Caused by: com.alibaba.sample.petstore.biz.StoreManagerException: Could not get upload directory from ResourceLoader: /petstore/upload
at com.alibaba.sample.petstore.biz.impl.StoreManagerImpl.afterPropertiesSet(StoreManagerImpl.java:77)
使用最新代码在本地进行编译运行过程中报错。
1、环境
本地环境:OS X 10.10.4 (14E46)
Java :java version “1.7.0_80" Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Maven: Apache Maven 3.3.9
2、操作
按照http://openwebx.org/ 首页教程:
进行操作之后,报下面错误,但是可以启动:
然后访问 http://127.0.0.1:8081,页面报错,HTTP报文头:
实际上,应该将教程中的
mvn jetty:run-war
修改成:
mvn jetty:run
这样的话,应用正常启动,访问http://127.0.0.1:8081 成功。
The text was updated successfully, but these errors were encountered: