解决方案 »

  1.   

    现在spring都是用maven了,你自己玩玩还可以用myeclipes自动搭建,实际开发很少很怎么做,要么用maven,要么用ant
      

  2.   

    1. MyEclipse 的自动部署害人不浅哈;
    2. maven 不是自动导包,还是要配置的,是把你的依赖高效地管理起来;
    3. 建议还是看看 maven 吧
      

  3.   

    我搭建好,help:system总是出错,新建的工程,pom.xml也会出错,是那里导致的呢
      

  4.   

    MAVEN_HOME
    G:\javaMaven\apache-maven-3.1.1
    classpth:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.7.0_55\bin;G:\javaMaven\apache-maven-3.1.1\bin;
      

  5.   

    可以,但是,help system,那步就出错
      

  6.   

    仓库我修改了,新建文件夹ku,放在ku,或者不修改都会出错
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
      <!-- localRepository
       | The path to the local repository maven will use to store artifacts.
       |
       | Default: ${user.home}/.m2/repository
      <localRepository>/path/to/local/repo</localRepository>
      -->
      <localRepository>G:/javaMaven/ku</localRepository>
       <!-- interactiveMode
       | This will determine whether maven prompts you when it needs input. If set to false,
       | maven will use a sensible default value, perhaps based on some other setting, for
       | the parameter in question.
       |
       | Default: true
      <interactiveMode>true</interactiveMode>
      -->