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

本文详细介绍了如何下载并安装Virgo插件、使用Maven配置、克隆Git仓库、导入Maven项目、运行VTS产品模式以及解决在部署过程中遇到的常见问题,包括数据库类找不到的问题及依赖库的正确引用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值