virgoTomcatServer greenpages>>contracthttp://spring.io/

1.download sts

       http://spring.io/

2.virgo plugin in eclipse install

     release:  http://download.eclipse.org/virgo/release/tooling

3.virgo-tomcat-server download

4.maven configuration in sts 

5.git clone

    https://github.com/kane-chen/webContract.git

6.import maven projects

   (notice: repositories\pluginRepository\com.springsource.bundlor.maven)  

7.now,u can [mvn install]  on root-path(u can get all bundles)

8.run at vts(product mode),

     ① cp contract/target/par-provided/*   >  {vts_home}/repository/usr

     ② cp contract/target/contract-1.0.0.RELEASE.par  > {vts_home}/pickup

     ③ startup.bat

9.run at sts with vts

    ① use h2,will cause classNotFound,because of class.forName(h2Driver) in DBCP 

         (NOTICE: todo,vts/bin start.sh is ok,why not in sts? )

    ②cp dependency > {vts_home}/repository/usr

        (how about: add [target/par-provided/*.jar] into vts' classpath)

    ③ run on server(project>properties>projectFaces>eclipseRT Par)

         u will find contract.par in {vts_home}/stage  

        (par has only bundles, without dependency-jar)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值