zoukankan      html  css  js  c++  java
  • 如何将Springside4项目转成Eclipse项目

    1)下载springside4 官网地址 http://www.springside.org.cn/download.html

    2)运行CMD,进入 
    C:Documents and SettingsUserMy DocumentsGitHubspringside4modules  目录
    运行:mvn install

    注:该命令的作用,将所有module编译打包安装到Maven的本地仓库。

    3)运行CMD,进入
    C:Documents and SettingsUserMy DocumentsGitHubspringside4examplesquickstart 目录
    运行:mvn eclipse:eclipse

    注:该命令的作用,将quickstart 项目生成为普通elipse项目,这样就可以在eclipse中导入(import)了。


    4)初始化数据库(使用默认的 H2 database)

    进入
    C:Documents and SettingsUserMy DocumentsGitHubspringside4examplesquickstart 目录
    运行:
    mvn antrun:run -Prefresh-db

    注:可CMD进入C:Documents and SettingsUserMy DocumentsGitHubspringside4supporth2目录
    运行:
    mvn exec:java 对本地的H2数据库进行管理(用户:sa  密码:(为空))
    本地H2数据库文件位置: C:Users用户名.h2  

    5)运行(使用内嵌的jetty server运行项目)
    在eclipse中,右击quickstart中的pom.xml文件
    选择:Run Configuration

    Base diretory: 选择quickstart项目
    Goals: jetty:run

    点击run,运行该项目。

  • 相关阅读:
    支付平台架构
    进程、线程与协程
    WSGI
    TLS(SSL)
    Python logger
    Jedis操作Redis--Hash类型
    Jedis操作Redis--List类型
    Jedis操作Redis--String类型
    SpringMVC整合Apache Shiro
    JDK中的Proxy技术实现AOP功能
  • 原文地址:https://www.cnblogs.com/heshan664754022/p/3255557.html
Copyright © 2011-2022 走看看