2010年11月24日
               摘要: android組件介紹  閱讀全文
          posted @ 2011-12-09 13:25 hello| 編輯 收藏
               摘要: spring @Transactional 事務屬性  閱讀全文
          posted @ 2011-10-27 18:21 hello| 編輯 收藏
               摘要: @Transactional spring 配置事務   閱讀全文
          posted @ 2011-10-27 18:06 hello| 編輯 收藏
               摘要: Spring @Transactional   閱讀全文
          posted @ 2011-10-27 18:00 hello| 編輯 收藏
               摘要: JQUERY驗證框架  閱讀全文
          posted @ 2011-09-13 11:47 hello| 編輯 收藏
               摘要: 捕捉登出時間解決  閱讀全文
          posted @ 2011-09-01 09:06 hello| 編輯 收藏

          SpringSide是基于SSH架構適用于企業級開發的啟動框架。作為業務不是特別定制化的應用,它算是一個不錯的起點。

          版本3.3.4中,quick-start負責安裝maven repository、編譯三個示例項目,啟動數據庫,啟動項目等等。而generate-project負責生成eclipse可開發的代碼模板。

          但如果機器上已經裝有Maven版本,則quick-start的Step2編譯時會報錯:

          Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/c
          lassworlds/launcher/Launcher
          Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.lau
          ncher.Launcher
          ??????? at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          ??????? at java.security.AccessController.doPrivileged(Native Method)
          ??????? at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          ??????? at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          ??????? at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
          ??????? at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          Could not find the main class: org.codehaus.plexus.classworlds.launcher.Launcher

          檢查bat代碼后發現問題出現在

          						
          call %MVN% %OFF_LINE% clean install -Dmaven . test.skip=true這一句話。

          前面MVN設置為SpringSide自帶的2.2.1版,但bin\mvn.bat中會使用系統的M2_HOME,而如果系統中安裝了其他版本的MVN,則M2_HOME會被指到其他位置,從而導致編譯出錯。

          一個解決辦法是在該步之前覆蓋系統中的M2_HOME,在bat中MVN的設置后面添加
          set ANT_HOME=%cd%\tools\maven\apache-ant-1.8.1
          set M2_HOME=%cd%\tools\maven\apache-maven-2.2.1

          再次執行,成功運行。

          posted @ 2011-03-15 12:11 hello| 編輯 收藏
               摘要: 開源免費論壇軟件JiveJdon  閱讀全文
          posted @ 2011-03-10 16:18 hello| 編輯 收藏
               摘要: 如何成為Java高手  閱讀全文
          posted @ 2011-03-10 16:04 hello| 編輯 收藏
               摘要: 安裝maven插件失敗的解決辦法  閱讀全文
          posted @ 2011-02-16 12:13 hello| 編輯 收藏
               摘要: 坐標規劃  閱讀全文
          posted @ 2011-02-16 12:11 hello| 編輯 收藏
               摘要: Maven中央倉庫——你可能不知道的細節  閱讀全文
          posted @ 2011-02-16 12:11 hello| 編輯 收藏
               摘要: POM重構之增還是刪  閱讀全文
          posted @ 2011-02-16 12:07 hello| 編輯 收藏
               摘要: 多模塊項目的POM重構  閱讀全文
          posted @ 2011-02-16 12:06 hello| 編輯 收藏
               摘要: 基于Maven的持續集成實踐  閱讀全文
          posted @ 2011-02-16 12:04 hello| 編輯 收藏
               摘要: tomcat7新特性  閱讀全文
          posted @ 2011-01-20 17:54 hello 閱讀(5893) | 評論 (0)編輯 收藏
               摘要: tomcat源碼解析(一  閱讀全文
          posted @ 2011-01-20 17:53 hello| 編輯 收藏
               摘要: Spring源代碼解析(一):IOC容器  閱讀全文
          posted @ 2011-01-20 16:59 hello| 編輯 收藏
               摘要: spring新特性  閱讀全文
          posted @ 2010-12-23 17:50 hello| 編輯 收藏
               摘要: 以前的筆記part3  閱讀全文
          posted @ 2010-12-21 17:56 hello| 編輯 收藏
               摘要: 以前的筆記part2  閱讀全文
          posted @ 2010-12-21 17:51 hello| 編輯 收藏
               摘要: 以前的筆記part1  閱讀全文
          posted @ 2010-12-21 17:46 hello| 編輯 收藏
               摘要: Spring2.5的筆記  閱讀全文
          posted @ 2010-12-21 17:34 hello| 編輯 收藏
               摘要: spring資料  閱讀全文
          posted @ 2010-12-21 17:25 hello| 編輯 收藏
               摘要: springside SpringFramework  閱讀全文
          posted @ 2010-12-21 17:10 hello| 編輯 收藏
               摘要: 技術參考手冊  閱讀全文
          posted @ 2010-12-17 17:30 hello| 編輯 收藏
               摘要: SpringSide目錄說明  閱讀全文
          posted @ 2010-12-17 17:22 hello| 編輯 收藏
               摘要: 快速開始指南  閱讀全文
          posted @ 2010-12-17 17:06 hello| 編輯 收藏
               摘要: 開發實踐建議  閱讀全文
          posted @ 2010-12-17 17:01 hello| 編輯 收藏
               摘要: Modules  閱讀全文
          posted @ 2010-12-17 16:19 hello| 編輯 收藏
               摘要: 企業級特征示例 - Showcase Example  閱讀全文
          posted @ 2010-12-17 16:08 hello| 編輯 收藏
               摘要: SpringSide3.0 總述  閱讀全文
          posted @ 2010-12-17 15:55 hello| 編輯 收藏
               摘要: 框架風格簡述.  閱讀全文
          posted @ 2010-12-17 15:53 hello| 編輯 收藏
               摘要: 每天使用的日常框架開發示例 - Mini Example  閱讀全文
          posted @ 2010-12-17 15:51 hello| 編輯 收藏
               摘要: springside更新日志  閱讀全文
          posted @ 2010-12-17 15:42 hello| 編輯 收藏
               摘要: java.lang.OutOfMemoryError: PermGen space  閱讀全文
          posted @ 2010-11-24 18:05 hello 閱讀(317) | 評論 (0)編輯 收藏
               摘要: java面試必須要知道的SQL語法  閱讀全文
          posted @ 2010-11-24 12:19 hello 閱讀(279) | 評論 (0)編輯 收藏
               摘要: Java類型和SQL類型的匹配  閱讀全文
          posted @ 2010-11-24 11:50 hello 閱讀(1220) | 評論 (0)編輯 收藏
          主站蜘蛛池模板: 唐海县| 武清区| 安义县| 广宁县| 岳西县| 洛浦县| 威海市| 江孜县| 娄烦县| 许昌市| 清镇市| 兰州市| 霍林郭勒市| 绥德县| 宿迁市| 师宗县| 西充县| 涡阳县| 临江市| 徐水县| 调兵山市| 鄄城县| 花莲市| 德阳市| 保靖县| 孙吴县| 达日县| 济源市| 收藏| 昭平县| 浦江县| 营山县| 新疆| 翁源县| 金秀| 樟树市| 资兴市| 海丰县| 昌都县| 游戏| 乐陵市|