• 关于

    html5demos

    的搜索结果

回答

•有一个比较土的方式是锚点,每次加载你都改变一次锚点,当重新载入这个页面时,根据锚点来重新加载信息•更加现代的方式你可以用history.pushState方法和history.replaceState以及window对象的popstate事件,这个方式可以让你用JS自己控制URL和前进后退事件,并且用ajax刷新网页的局部内容,新浪微博就用了这个技术,我早年写过一个demo: http://vifix.cn/atelier/demos/html5-update-browser-url-without-reloading-page/,详细API介绍你可以看MDN: https://developer.mozilla.org/en-US/docs/Web/API/History_API#Adding_and_modifying_history_entries
杨冬芳 2019-12-02 02:52:47 0 浏览量 回答数 0

回答

我试了一下,发现用命令:mvn-einstall安装,就好了。可能是,在编译过程中,里面有自定义的异常抛出导致的。其实,那是测试自定义异常的一个测试,出现这个异常,说明是正常的。如果不出现这个异常,才是有问题。######已修复,请更新。######我今天刚试了,还是不行哦!######我今天也试了,还是不行啊######<spanstyle="font-family:Verdana,sans-serif,宋体;font-size:14px;line-height:normal;background-color:#F9F9F9;">我今天也试了,不行啊[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-compiler-plugin:3.0:compile(default-compile)onprojectspringside-test:Fatalerrorcompiling:CompilerException:IllegalArgumentException:Illegalcharacterinpathatindex17:jar:/C:/DocumentsandSettings/admin/.m2###### 用命令mvn-einstall又执行了一遍, 又报:[INFO]Springside::Example::QuickStart...............FAILURE[5:40.593s] [ERROR]Failedtoexecutegoalonprojectquickstart:Couldnotresolvedependenciesforprojectorg.springside.examples:quickstart:war:4.0.1.GA:Thefollowingartifactscouldnotberesolved:javax.mail:mail:jar:1.4,javax.activation:activation:jar:1.1,commons-io:commons-io:jar:2.2:Couldnottransferartifactjavax.mail:mail:jar:1.4from/tocentral(http://repo.maven.apache.org/maven2):Connectiontohttp://repo.maven.apache.orgrefused:Connectiontimedout:connect->[Help1]org.apache.maven.lifecycle.LifecycleExecutionException:Failedtoexecutegoalonprojectquickstart:Couldnotresolvedependenciesforprojectorg.springside.examples:quickstart:war:4.0.1.GA:Thefollowingartifactscouldnotberesolved:javax.mail:mail:jar:1.4,javax.activation:activation:jar:1.1,commons-io:commons-io:jar:2.2:Couldnottransferartifactjavax.mail:mail:jar:1.4from/tocentral(http://repo.maven.apache.org/maven2):Connectiontohttp://repo.maven.apache.orgrefused ######又试了几次终于成功了,建议用小红伞的先暂关闭一下。 2013-03-2020:35:43,875[main]INFO [org.springside.examples.quickstart.reposit ory.JpaMappingTest]-ok:User 2013-03-2020:35:43,921[main]INFO [org.springside.examples.quickstart.reposit Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:10.422sec Runningorg.springside.examples.quickstart.repository.TaskDaoTest 2013-03-2020:35:44,312[main]WARN [org.springframework.aop.framework.Cglib2Ao pProxy]-Unabletoproxymethod[publicfinalvoidorg.springframework.test.con text.junit4.AbstractJUnit4SpringContextTests.setApplicationContext(org.springfra mework.context.ApplicationContext)]becauseitisfinal:Allcallstothismetho dviaaproxywillberouteddirectlytotheproxy. Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:0.469sec Runningorg.springside.examples.quickstart.service.account.AccountServiceTest 2013-03-2020:35:44,968[main]WARN [org.springside.examples.quickstart.service .account.AccountService]-操作员foo尝试删除超级管理员用户 Testsrun:3,Failures:0,Errors:0,Skipped:0,Timeelapsed:0.562sec Results: Testsrun:5,Failures:0,Errors:0,Skipped:0 [INFO] [INFO]---maven-war-plugin:2.3:war(default-war)@quickstart--- [INFO]Packagingwebapp [INFO]Assemblingwebapp[quickstart]in[D:\springside4-4.0.1.GA\examples\quick start\target\quickstart-4.0.1.GA] [INFO]Processingwarproject [INFO]Copyingwebappresources[D:\springside4-4.0.1.GA\examples\quickstart\src \main\webapp] [INFO]Webappassembledin[7094msecs] [INFO]Buildingwar:D:\springside4-4.0.1.GA\examples\quickstart\target\quicksta rt.war [INFO] [INFO]---maven-install-plugin:2.4:install(default-install)@quickstart--- [INFO]InstallingD:\springside4-4.0.1.GA\examples\quickstart\target\quickstart. wartoC:\DocumentsandSettings\admin.m2\repository\org\springside\examples\qu ickstart\4.0.1.GA\quickstart-4.0.1.GA.war [INFO]InstallingD:\springside4-4.0.1.GA\examples\quickstart\pom.xmltoC:\Docu mentsandSettings\admin.m2\repository\org\springside\examples\quickstart\4.0.1 .GA\quickstart-4.0.1.GA.pom [INFO] [INFO]------------------------------------------------------------------------ [INFO]BuildingSpringside::Example::Showcase4.0.1.GA [INFO]------------------------------------------------------------------------ Downloading:http://repo.maven.apache.org/maven2/org/jasypt/jasypt/1.9.0/jasypt- 1.9.0.jar 2013-3-2020:36:12org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirectortryExecute 信息:I/Oexception(org.apache.maven.wagon.providers.http.httpclient.NoHttpResp onseException)caughtwhenprocessingrequest:Thetargetserverfailedtorespo nd 2013-3-2020:36:12org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirectortryExecute 信息:Retryingrequest Downloaded:http://repo.maven.apache.org/maven2/org/jasypt/jasypt/1.9.0/jasypt-1 .9.0.jar(123KBat7.7KB/sec) [INFO] [INFO]---maven-enforcer-plugin:1.2:enforce(enforce-banned-dependencies)@sho wcase--- [INFO] [INFO]---build-helper-maven-plugin:1.7:add-test-source(add-source)@showcase  --- [INFO]TestSourcedirectory:D:\springside4-4.0.1.GA\examples\showcase\src\test \functionaladded. [INFO] [INFO]---maven-resources-plugin:2.6:resources(default-resources)@showcase- -- [INFO]Using'UTF-8'encodingtocopyfilteredresources. [INFO]Copying28resources [INFO] [INFO]---maven-compiler-plugin:3.0:compile(default-compile)@showcase--- [INFO]Changesdetected-recompilingthemodule! [INFO]Compiling62sourcefilestoD:\springside4-4.0.1.GA\examples\showcase\ta rget\classes [WARNING]注意:某些输入文件使用了未经检查或不安全的操作。 [WARNING]注意:要了解详细信息,请使用-Xlint:unchecked重新编译。 [INFO] [INFO]---maven-resources-plugin:2.6:testResources(default-testResources)@sh owcase--- [INFO]Using'UTF-8'encodingtocopyfilteredresources. [INFO]Copying6resources [INFO] [INFO]---maven-compiler-plugin:3.0:testCompile(default-testCompile)@showcas e--- [INFO]Changesdetected-recompilingthemodule! [INFO]Compiling22sourcefilestoD:\springside4-4.0.1.GA\examples\showcase\ta rget\test-classes [WARNING]注意:某些输入文件使用了未经检查或不安全的操作。 [WARNING]注意:要了解详细信息,请使用-Xlint:unchecked重新编译。 [INFO] [INFO]---maven-surefire-plugin:2.12.4:test(default-test)@showcase--- [INFO]Surefirereportdirectory:D:\springside4-4.0.1.GA\examples\showcase\targ et\surefire-reports [INFO]Usingconfiguredproviderorg.apache.maven.surefire.junitcore.JUnitCorePr ovider -------------------------------------------------------  TESTS ------------------------------------------------------- Concurrencyconfigisparallel='none',perCoreThreadCount=true,threadCount=2,u seUnlimitedThreads=false Runningorg.springside.examples.showcase.demos.jms.JmsAdvancedTest 2013-03-2020:36:27,656[main]ERRORorg.apache.activemq.broker.BrokerService-T emporaryStorelimitis51200mb,whilstthetemporarydatadirectory:D:\spring side4-4.0.1.GA\examples\showcase\activemq-data\showcase\tmp_storageonlyhas794 7mbofusablespace 2013-03-2020:36:29,218[advancedTopicContainer-1]INFO s.advanced.AdvancedNoti fyMessageListener-UserName:calvin,Email:calvin@sringside.org.cn,ObjectType:us er 2013-03-2020:36:33,234[advancedQueueContainer-3]INFO s.advanced.AdvancedNoti fyMessageListener-UserName:calvin,Email:calvin@sringside.org.cn,ObjectType:us er Testsrun:3,Failures:0,Errors:0,Skipped:0,Timeelapsed:14.891sec Runningorg.springside.examples.showcase.demos.jms.JmsSimpleTest 2013-03-2020:36:37,109[main]ERRORorg.apache.activemq.broker.BrokerService-T emporaryStorelimitis51200mb,whilstthetemporarydatadirectory:D:\spring side4-4.0.1.GA\examples\showcase\activemq-data\showcase\tmp_storageonlyhas794 7mbofusablespace 2013-03-2020:36:38,140[main]INFO xamples.showcase.demos.jms.JmsSimpleTest-s endedmessage 2013-03-2020:36:38,140[topicContainer-1]INFO e.demos.jms.simple.NotifyMessag eListener-UserName:calvin,Email:calvin@sringside.org.cn 2013-03-2020:36:40,156[queueContainer-10]INFO e.demos.jms.simple.NotifyMessa geListener-UserName:calvin,Email:calvin@sringside.org.cn 2013-03-2020:36:40,156[main]INFO xamples.showcase.demos.jms.JmsSimpleTest-s endedmessage Testsrun:2,Failures:0,Errors:0,Skipped:0,Timeelapsed:5.719sec Runningorg.springside.examples.showcase.demos.mail.MailServiceTest 2013-03-2020:36:44,093[main]INFO se.demos.utilities.email.MimeMailService-H TML版邮件已发送至springside3.demo<aclass="referer"target="_blank">@gmail.com <html> <head>用户修改通知</head> <body>     <h1>用户calvin被修改.</h1> </body> </html> 2013-03-2020:36:44,125[main]INFO .demos.utilities.email.SimpleMailService- 纯文本邮件已发送至springside3.demo<aclass="referer"target="_blank">@gmail.com             用戶calvin在2013-03-20被修改.                     SystemAdministrator. Testsrun:2,Failures:0,Errors:0,Skipped:0,Timeelapsed:1.844sec Runningorg.springside.examples.showcase.demos.schedule.JdkTimerJobTest 2013-03-2020:36:45,734[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. 2013-03-2020:36:47,046[JdkTimerJob-0]INFO showcase.demos.schedule.UserCountS canner-Thereare6userindatabase,printedbyjdktimerjob. Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:4.609sec Runningorg.springside.examples.showcase.demos.schedule.QuartzTimerClusterJobTes t 2013-03-2020:36:50,281[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. 2013-03-2020:36:52,453[clusterQuartzScheduler_Worker-1]INFO case.demos.sched ule.QuartzClusterableJob-Thereare6userindatabase,printedbyquartzcluste rjobonnodedefault. Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:5.265sec Runningorg.springside.examples.showcase.demos.schedule.SpringTimerJobTest 2013-03-2020:36:55,593[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. 2013-03-2020:36:55,609[springScheduler-2]INFO showcase.demos.schedule.UserCo untScanner-Thereare6userindatabase,printedbyspringtimerjobbyxml. Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:2.953sec Runningorg.springside.examples.showcase.demos.web.CacheControlHeaderFilterTest Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:0.078sec Runningorg.springside.examples.showcase.repository.jpa.DynamicSpecificationTest 2013-03-2020:36:58,515[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:1.015sec Runningorg.springside.examples.showcase.repository.jpa.JpaMappingTest 2013-03-2020:36:58,812[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. 2013-03-2020:36:58,843[main]INFO s.showcase.repository.jpa.JpaMappingTest-o k:User 2013-03-2020:36:58,843[main]INFO s.showcase.repository.jpa.JpaMappingTest-o k:Team 2013-03-2020:36:58,859[main]INFO s.showcase.repository.jpa.JpaMappingTest-o k:Role Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:0.063sec Runningorg.springside.examples.showcase.repository.mybatis.TeamMybatisDaoTest 2013-03-2020:36:59,921[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:1.281sec Runningorg.springside.examples.showcase.repository.mybatis.UserMybatisDaoTest 2013-03-2020:37:00,953[main]WARN ngframework.aop.framework.Cglib2AopProxy-U nabletoproxymethod[publicfinalvoidorg.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)]becauseitisfinal:Allcallstothismethodviaapro xywillberouteddirectlytotheproxy. Testsrun:3,Failures:0,Errors:0,Skipped:0,Timeelapsed:0.875sec Runningorg.springside.examples.showcase.service.AccountServiceTest 2013-03-2020:37:01,531[main]WARN examples.showcase.service.AccountService- 操作员foo尝试修改超级管理员用户 Testsrun:1,Failures:0,Errors:0,Skipped:0,Timeelapsed:0.421sec Results: Testsrun:18,Failures:0,Errors:0,Skipped:0 [INFO] [INFO]---maven-war-plugin:2.3:war(default-war)@showcase--- [INFO]Packagingwebapp [INFO]Assemblingwebapp[showcase]in[D:\springside4-4.0.1.GA\examples\showcas e\target\showcase-4.0.1.GA] [INFO]Processingwarproject [INFO]Copyingwebappresources[D:\springside4-4.0.1.GA\examples\showcase\src\m ain\webapp] [INFO]Webappassembledin[7844msecs] [INFO]Buildingwar:D:\springside4-4.0.1.GA\examples\showcase\target\showcase.w ar [INFO] [INFO]---maven-install-plugin:2.4:install(default-install)@showcase--- [INFO]InstallingD:\springside4-4.0.1.GA\examples\showcase\target\showcase.war toC:\DocumentsandSettings\admin.m2\repository\org\springside\examples\showca se\4.0.1.GA\showcase-4.0.1.GA.war [INFO]InstallingD:\springside4-4.0.1.GA\examples\showcase\pom.xmltoC:\Docume ntsandSettings\admin.m2\repository\org\springside\examples\showcase\4.0.1.GA<br/>showcase-4.0.1.GA.pom [INFO] [INFO]------------------------------------------------------------------------ [INFO]BuildingSpringside::Example4.0.1.GA [INFO]------------------------------------------------------------------------ [INFO] [INFO]---maven-install-plugin:2.4:install(default-install)@springside-examp les--- [INFO]InstallingD:\springside4-4.0.1.GA\examples\pom.xmltoC:\DocumentsandS ettings\admin.m2\repository\org\springside\examples\springside-examples\4.0.1.G A\springside-examples-4.0.1.GA.pom [INFO] [INFO]------------------------------------------------------------------------ [INFO]BuildingSpringside::Project4.0.1.GA [INFO]------------------------------------------------------------------------ Downloading:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- install-plugin/2.3.1/maven-install-plugin-2.3.1.pom Downloaded:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-i nstall-plugin/2.3.1/maven-install-plugin-2.3.1.pom(5KBat1.1KB/sec) Downloading:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- plugins/18/maven-plugins-18.pom 2013-3-2020:37:23org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirectortryExecute 信息:I/Oexception(org.apache.maven.wagon.providers.http.httpclient.NoHttpResp onseException)caughtwhenprocessingrequest:Thetargetserverfailedtorespo nd 2013-3-2020:37:23org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirectortryExecute 信息:Retryingrequest Downloaded:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-p lugins/18/maven-plugins-18.pom(13KBat1.4KB/sec) Downloading:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- install-plugin/2.3.1/maven-install-plugin-2.3.1.jar Downloaded:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-i nstall-plugin/2.3.1/maven-install-plugin-2.3.1.jar(23KBat3.3KB/sec) [INFO] [INFO]---maven-install-plugin:2.3.1:install(default-install)@springside-pro ject--- [INFO]InstallingD:\springside4-4.0.1.GA\pom.xmltoC:\DocumentsandSettings\a dmin.m2\repository\org\springside\springside-project\4.0.1.GA\springside-projec t-4.0.1.GA.pom [INFO]------------------------------------------------------------------------ [INFO]ReactorSummary: [INFO] [INFO]Springside::Module::Parent....................SUCCESS[0.985s] [INFO]Springside::Module::Test......................SUCCESS[33.515s] [INFO]Springside::Module::Core......................SUCCESS[13.766s] [INFO]Springside::Module::Extension.................SUCCESS[8.641s] [INFO]Springside::Module..............................SUCCESS[0.031s] [INFO]Springside::Example::QuickStart...............SUCCESS[27.906s] [INFO]Springside::Example::Showcase.................SUCCESS[1:18.344s] [INFO]Springside::Example.............................SUCCESS[0.062s] [INFO]Springside::Project.............................SUCCESS[20.422s] [INFO]------------------------------------------------------------------------ [INFO]BUILDSUCCESS [INFO]------------------------------------------------------------------------ [INFO]Totaltime:3:04.188s [INFO]Finishedat:WedMar2020:37:35CST2013 [INFO]FinalMemory:31M/123M [INFO]------------------------------------------------------------------------ D:\springside4-4.0.1.GA>
优选2 2020-06-09 10:29:51 0 浏览量 回答数 0

回答

我试了一下,发现用命令:mvn -e install 安装,就好了。可能是,在编译过程中,里面有自定义的异常抛出导致的。其实,那是测试自定义异常的一个测试,出现这个异常,说明是正常的。如果不出现这个异常,才是有问题。######已修复,请更新。######我今天刚试了,还是不行哦!######我今天也试了,还是不行啊######我今天也试了,不行啊 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3. 0:compile (default-compile) on project springside-test: Fatal error compiling: C ompilerException: IllegalArgumentException: Illegal character in path at index 1 7: jar:/C:/Documents and Settings/admin/.m2 ###### 用命令 mvn -e install又执行了一遍, 又报:[INFO] Springside :: Example :: QuickStart ............... FAILURE [5:40.593s] [ERROR] Failed to execute goal on project quickstart: Could not resolve dependen cies for project org.springside.examples:quickstart:war:4.0.1.GA: The following artifacts could not be resolved: javax.mail:mail:jar:1.4, javax.activation:activ ation:jar:1.1, commons-io:commons-io:jar:2.2: Could not transfer artifact javax. mail:mail:jar:1.4 from/to central (http://repo.maven.apache.org/maven2): Connect ion to http://repo.maven.apache.org refused: Connection timed out: connect -> [H elp 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o n project quickstart: Could not resolve dependencies for project org.springside. examples:quickstart:war:4.0.1.GA: The following artifacts could not be resolved: javax.mail:mail:jar:1.4, javax.activation:activation:jar:1.1, commons-io:common s-io:jar:2.2: Could not transfer artifact javax.mail:mail:jar:1.4 from/to centra l (http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache. org refused ######又试了几次终于成功了,建议用小红伞的先暂关闭一下。 2013-03-20 20:35:43,875 [main] INFO  [org.springside.examples.quickstart.reposit ory.JpaMappingTest] - ok: User 2013-03-20 20:35:43,921 [main] INFO  [org.springside.examples.quickstart.reposit Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.422 sec Running org.springside.examples.quickstart.repository.TaskDaoTest 2013-03-20 20:35:44,312 [main] WARN  [org.springframework.aop.framework.Cglib2Ao pProxy] - Unable to proxy method [public final void org.springframework.test.con text.junit4.AbstractJUnit4SpringContextTests.setApplicationContext(org.springfra mework.context.ApplicationContext)] because it is final: All calls to this metho d via a proxy will be routed directly to the proxy. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec Running org.springside.examples.quickstart.service.account.AccountServiceTest 2013-03-20 20:35:44,968 [main] WARN  [org.springside.examples.quickstart.service .account.AccountService] - 操作员foo尝试删除超级管理员用户 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.562 sec Results : Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-war-plugin:2.3:war (default-war) @ quickstart --- [INFO] Packaging webapp [INFO] Assembling webapp [quickstart] in [D:\springside4-4.0.1.GA\examples\quick start\target\quickstart-4.0.1.GA] [INFO] Processing war project [INFO] Copying webapp resources [D:\springside4-4.0.1.GA\examples\quickstart\src \main\webapp] [INFO] Webapp assembled in [7094 msecs] [INFO] Building war: D:\springside4-4.0.1.GA\examples\quickstart\target\quicksta rt.war [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ quickstart --- [INFO] Installing D:\springside4-4.0.1.GA\examples\quickstart\target\quickstart. war to C:\Documents and Settings\admin\.m2\repository\org\springside\examples\qu ickstart\4.0.1.GA\quickstart-4.0.1.GA.war [INFO] Installing D:\springside4-4.0.1.GA\examples\quickstart\pom.xml to C:\Docu ments and Settings\admin\.m2\repository\org\springside\examples\quickstart\4.0.1 .GA\quickstart-4.0.1.GA.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Springside :: Example :: Showcase 4.0.1.GA [INFO] ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/jasypt/jasypt/1.9.0/jasypt- 1.9.0.jar 2013-3-20 20:36:12 org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirector tryExecute 信息: I/O exception (org.apache.maven.wagon.providers.http.httpclient.NoHttpResp onseException) caught when processing request: The target server failed to respo nd 2013-3-20 20:36:12 org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirector tryExecute 信息: Retrying request Downloaded: http://repo.maven.apache.org/maven2/org/jasypt/jasypt/1.9.0/jasypt-1 .9.0.jar (123 KB at 7.7 KB/sec) [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-banned-dependencies) @ sho wcase --- [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-source) @ showcase  --- [INFO] Test Source directory: D:\springside4-4.0.1.GA\examples\showcase\src\test \functional added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ showcase - -- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 28 resources [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ showcase --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 62 source files to D:\springside4-4.0.1.GA\examples\showcase\ta rget\classes [WARNING] 注意:某些输入文件使用了未经检查或不安全的操作。 [WARNING] 注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sh owcase --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ showcas e --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 22 source files to D:\springside4-4.0.1.GA\examples\showcase\ta rget\test-classes [WARNING] 注意:某些输入文件使用了未经检查或不安全的操作。 [WARNING] 注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ showcase --- [INFO] Surefire report directory: D:\springside4-4.0.1.GA\examples\showcase\targ et\surefire-reports [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCorePr ovider -------------------------------------------------------  T E S T S ------------------------------------------------------- Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, u seUnlimitedThreads=false Running org.springside.examples.showcase.demos.jms.JmsAdvancedTest 2013-03-20 20:36:27,656 [main] ERROR org.apache.activemq.broker.BrokerService -T emporary Store limit is 51200 mb, whilst the temporary data directory: D:\spring side4-4.0.1.GA\examples\showcase\activemq-data\showcase\tmp_storage only has 794 7 mb of usable space 2013-03-20 20:36:29,218 [advancedTopicContainer-1] INFO  s.advanced.AdvancedNoti fyMessageListener -UserName:calvin, Email:calvin@sringside.org.cn, ObjectType:us er 2013-03-20 20:36:33,234 [advancedQueueContainer-3] INFO  s.advanced.AdvancedNoti fyMessageListener -UserName:calvin, Email:calvin@sringside.org.cn, ObjectType:us er Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.891 sec Running org.springside.examples.showcase.demos.jms.JmsSimpleTest 2013-03-20 20:36:37,109 [main] ERROR org.apache.activemq.broker.BrokerService -T emporary Store limit is 51200 mb, whilst the temporary data directory: D:\spring side4-4.0.1.GA\examples\showcase\activemq-data\showcase\tmp_storage only has 794 7 mb of usable space 2013-03-20 20:36:38,140 [main] INFO  xamples.showcase.demos.jms.JmsSimpleTest -s ended message 2013-03-20 20:36:38,140 [topicContainer-1] INFO  e.demos.jms.simple.NotifyMessag eListener -UserName:calvin, Email:calvin@sringside.org.cn 2013-03-20 20:36:40,156 [queueContainer-10] INFO  e.demos.jms.simple.NotifyMessa geListener -UserName:calvin, Email:calvin@sringside.org.cn 2013-03-20 20:36:40,156 [main] INFO  xamples.showcase.demos.jms.JmsSimpleTest -s ended message Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.719 sec Running org.springside.examples.showcase.demos.mail.MailServiceTest 2013-03-20 20:36:44,093 [main] INFO  se.demos.utilities.email.MimeMailService -H TML版邮件已发送至springside3.demo @gmail.com <html> <head>用户修改通知</head> <body>         <h1>用户calvin被修改.</h1> </body> </html> 2013-03-20 20:36:44,125 [main] INFO  .demos.utilities.email.SimpleMailService - 纯文本邮件已发送至springside3.demo @gmail.com                         用戶calvin在2013-03-20被修改.                                         System Administrator. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.844 sec Running org.springside.examples.showcase.demos.schedule.JdkTimerJobTest 2013-03-20 20:36:45,734 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. 2013-03-20 20:36:47,046 [JdkTimerJob-0] INFO  showcase.demos.schedule.UserCountS canner -There are 6 user in database, printed by jdk timer job. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.609 sec Running org.springside.examples.showcase.demos.schedule.QuartzTimerClusterJobTes t 2013-03-20 20:36:50,281 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. 2013-03-20 20:36:52,453 [clusterQuartzScheduler_Worker-1] INFO  case.demos.sched ule.QuartzClusterableJob -There are 6 user in database, printed by quartz cluste r job on node default. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.265 sec Running org.springside.examples.showcase.demos.schedule.SpringTimerJobTest 2013-03-20 20:36:55,593 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. 2013-03-20 20:36:55,609 [springScheduler-2] INFO  showcase.demos.schedule.UserCo untScanner -There are 6 user in database, printed by spring timer job by xml. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.953 sec Running org.springside.examples.showcase.demos.web.CacheControlHeaderFilterTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec Running org.springside.examples.showcase.repository.jpa.DynamicSpecificationTest 2013-03-20 20:36:58,515 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.015 sec Running org.springside.examples.showcase.repository.jpa.JpaMappingTest 2013-03-20 20:36:58,812 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. 2013-03-20 20:36:58,843 [main] INFO  s.showcase.repository.jpa.JpaMappingTest -o k: User 2013-03-20 20:36:58,843 [main] INFO  s.showcase.repository.jpa.JpaMappingTest -o k: Team 2013-03-20 20:36:58,859 [main] INFO  s.showcase.repository.jpa.JpaMappingTest -o k: Role Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec Running org.springside.examples.showcase.repository.mybatis.TeamMybatisDaoTest 2013-03-20 20:36:59,921 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.281 sec Running org.springside.examples.showcase.repository.mybatis.UserMybatisDaoTest 2013-03-20 20:37:00,953 [main] WARN  ngframework.aop.framework.Cglib2AopProxy -U nable to proxy method [public final void org.springframework.test.context.junit4 .AbstractJUnit4SpringContextTests.setApplicationContext(org.springframework.cont ext.ApplicationContext)] because it is final: All calls to this method via a pro xy will be routed directly to the proxy. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.875 sec Running org.springside.examples.showcase.service.AccountServiceTest 2013-03-20 20:37:01,531 [main] WARN  examples.showcase.service.AccountService - 操作员foo尝试修改超级管理员用户 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.421 sec Results : Tests run: 18, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-war-plugin:2.3:war (default-war) @ showcase --- [INFO] Packaging webapp [INFO] Assembling webapp [showcase] in [D:\springside4-4.0.1.GA\examples\showcas e\target\showcase-4.0.1.GA] [INFO] Processing war project [INFO] Copying webapp resources [D:\springside4-4.0.1.GA\examples\showcase\src\m ain\webapp] [INFO] Webapp assembled in [7844 msecs] [INFO] Building war: D:\springside4-4.0.1.GA\examples\showcase\target\showcase.w ar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ showcase --- [INFO] Installing D:\springside4-4.0.1.GA\examples\showcase\target\showcase.war to C:\Documents and Settings\admin\.m2\repository\org\springside\examples\showca se\4.0.1.GA\showcase-4.0.1.GA.war [INFO] Installing D:\springside4-4.0.1.GA\examples\showcase\pom.xml to C:\Docume nts and Settings\admin\.m2\repository\org\springside\examples\showcase\4.0.1.GA\ showcase-4.0.1.GA.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Springside :: Example 4.0.1.GA [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ springside-examp les --- [INFO] Installing D:\springside4-4.0.1.GA\examples\pom.xml to C:\Documents and S ettings\admin\.m2\repository\org\springside\examples\springside-examples\4.0.1.G A\springside-examples-4.0.1.GA.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Springside :: Project 4.0.1.GA [INFO] ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- install-plugin/2.3.1/maven-install-plugin-2.3.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-i nstall-plugin/2.3.1/maven-install-plugin-2.3.1.pom (5 KB at 1.1 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- plugins/18/maven-plugins-18.pom 2013-3-20 20:37:23 org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirector tryExecute 信息: I/O exception (org.apache.maven.wagon.providers.http.httpclient.NoHttpResp onseException) caught when processing request: The target server failed to respo nd 2013-3-20 20:37:23 org.apache.maven.wagon.providers.http.httpclient.impl.client. DefaultRequestDirector tryExecute 信息: Retrying request Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-p lugins/18/maven-plugins-18.pom (13 KB at 1.4 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- install-plugin/2.3.1/maven-install-plugin-2.3.1.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-i nstall-plugin/2.3.1/maven-install-plugin-2.3.1.jar (23 KB at 3.3 KB/sec) [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ springside-pro ject --- [INFO] Installing D:\springside4-4.0.1.GA\pom.xml to C:\Documents and Settings\a dmin\.m2\repository\org\springside\springside-project\4.0.1.GA\springside-projec t-4.0.1.GA.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Springside :: Module :: Parent .................... SUCCESS [0.985s] [INFO] Springside :: Module :: Test ...................... SUCCESS [33.515s] [INFO] Springside :: Module :: Core ...................... SUCCESS [13.766s] [INFO] Springside :: Module :: Extension ................. SUCCESS [8.641s] [INFO] Springside :: Module .............................. SUCCESS [0.031s] [INFO] Springside :: Example :: QuickStart ............... SUCCESS [27.906s] [INFO] Springside :: Example :: Showcase ................. SUCCESS [1:18.344s] [INFO] Springside :: Example ............................. SUCCESS [0.062s] [INFO] Springside :: Project ............................. SUCCESS [20.422s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:04.188s [INFO] Finished at: Wed Mar 20 20:37:35 CST 2013 [INFO] Final Memory: 31M/123M [INFO] ------------------------------------------------------------------------ D:\springside4-4.0.1.GA>
爱吃鱼的程序员 2020-05-29 20:07:26 0 浏览量 回答数 0

万券齐发助力企业上云,爆款产品低至2.2折起!

限量神券最高减1000,抢完即止!云服务器ECS新用户首购低至0.95折!

问题

jquery resizable(),新建元素后之前的元素无法伸缩的问题

&lt;!doctype html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="utf-8" /&gt; &lt;title&gt;jQuery UI Re...
a123456678 2019-12-01 20:20:27 750 浏览量 回答数 1

回答

一、 Afinal官方介绍:Afinal是一个Android的ioc,orm框架,内置了四大模块功能:FinalAcitivity,FinalBitmap,FinalDb,FinalHttp。通过finalActivity,我们可以通过注解的方式进行绑定ui和事件。通过finalBitmap,我们可以方便的加载bitmap图片,而无需考虑oom等问题。通过finalDB模块,我们一行代码就可以对android的sqlite数据库进行增删改查。通过FinalHttp模块,我们可以以ajax形式请求http数据。详情请通过以下网址查看。Afinal 是一个android的sqlite orm 和 ioc 框架。同时封装了android中的http框架,使其更加简单易用;使用finalBitmap,无需考虑bitmap在android中加载的时候oom的问题和快速滑动的时候图片加载位置错位等问题。Afinal的宗旨是简洁,快速。约定大于配置的方式。尽量一行代码完成所有事情。项目地址:https://github.com/yangfuhai/afinal功能:一个android的ioc,orm框架,内置了四大模块功能:FinalAcitivity,FinalBitmap,FinalDb,FinalHttp。通过finalActivity,我们可以通过注解的方式进行绑定ui和事件。通过finalBitmap,我们可以方便的加载bitmap图片,而无需考虑oom等问题。通过finalDB模块,我们一行代码就可以对android的sqlite数据库进行增删改查。通过FinalHttp模块,我们可以以ajax形式请求http数据。优点:功能比较全面,文档完善,代码效率比较高。缺点:没有项目demo,框架的时间比较久,代码冗余比较多(这也是无可避免的),文档比较老跟不上代码更新进度。(这个评价是其他高人评的,他自己也有写了框架。我个人觉得以前Afinal算是经典了 用的人多)。二、 xUtilsGit地址:https://github.com/wyouflf/xUtilsxUtils:可以说是Afinal的升级版。xUtils 包含了很多实用的android工具。xUtils 支持大文件上传,更全面的http请求协议支持(10种谓词),拥有更加灵活的ORM,更多的事件注解支持且不受混淆影响...xUitls 最低兼容android 2.2 (api level 8)三、 ThinkAndroid项目地址:https://github.com/white-cat/ThinkAndroid官方介绍:ThinkAndroid是一个免费的开源的、简易的、遵循Apache2开源协议发布的Android开发框架,其开发宗旨是简单、快速的进行Android应用程序的开发,包含Android mvc、简易sqlite orm、ioc模块、封装Android httpclitent的http模块,具有快速构建文件缓存功能,无需考虑缓存文件的格式,都可以非常轻松的实现缓存,它还基于文件缓存模块实现了图片缓存功能,在android中加载的图片的时候,对oom的问题,和对加载图片错位的问题都轻易解决。他还包括了一个手机开发中经常应用的实用工具类,如日志管理,配置文件管理,android下载器模块,网络切换检测等等工具优点:功能看起来比较完善。个人觉得名字起的好。缺点:从2013年就停止维护了,没有项目文档。四、 LoonAndroid官方介绍:如果你想看ui方面的东西,这里没有,想要看牛逼的效果这里也没有。这只是纯实现功能的框架,它的目标是节省代码量,降低耦合,让代码层次看起来更清晰。整个框架一部分是网上的,一部分是我改的,为了适应我的编码习惯,还有一部分像orm完全是网上的组件。在此感谢那些朋友们。 整个框架式的初衷是为了偷懒,之前都是一个功能一个jar,做项目的时候拉进去,这样对于我来说依然还是比较麻烦。最后就导致我把所有的jar做成了一个工具集合包。 有很多框架都含有这个工具集合里的功能,这些不一定都好用,因为这是根据我个人使用喜欢来实现的,如果你们有自己的想法,可以自己把架包解压了以后,源码拉出来改动下。 目前很多框架都用到了注解,除了androidannotations没有入侵我们应用的代码以外,其他的基本上都有,要么是必须继承框架里面的activity,要么是必须在activity的oncreat里面调用某个方法。 整个框架式不同于androidannotations,Roboguice等ioc框架,这是一个类似spring的实现方式。在整应用的生命周期中找到切入点,然后对activity的生命周期进行拦截,然后插入自己的功能。开源地址:https://github.com/gdpancheng/LoonAndroid功能:1自动注入框架(只需要继承框架内的application既可)2图片加载框架(多重缓存,自动回收,最大限度保证内存的安全性)3网络请求模块(继承了基本上现在所有的http请求)4 eventbus(集成一个开源的框架)5验证框架(集成开源框架)6 json解析(支持解析成集合或者对象)7 数据库(不知道是哪位写的 忘记了)8 多线程断点下载(自动判断是否支持多线程,判断是否是重定向)9 自动更新模块10 一系列工具类有点:功能多缺点:文档方面五、 KJFrameForAndroid项目地址:https://github.com/kymjs/KJFrameForAndroid官方介绍:KJFrameForAndroid 又叫KJLibrary,是一个android的orm 和 ioc 框架。同时封装了android中的Bitmap与Http操作的框架,使其更加简单易用;KJFrameForAndroid的设计思想是通过封装Android原生SDK中复杂的复杂操作而达到简化Android应用级开发,最终实现快速而又安全的开发APP。我们提倡用最少的代码,完成最多的操作,用最高的效率,完成最复杂的功能。功能:一个android的orm 和 ioc 框架。同时封装了android中的Bitmap与Http操作的框架,使其更加简单易用; KJFrameForAndroid开发框架的设计思想是通过封装Android原生SDK中复杂的复杂操作而达到简化Android应用级开发,最终实现快速而又安全的开发APP。总共分为五大模块:UILibrary,UtilsLibrary,HttpLibrary,BitmapLibrary,DBLibrary。优点:功能比较全面,代码效率很高,文档完善,有项目demo,出来的比较晚借鉴了很多大型框架经验。缺点:项目文档是html页面,查看起来很不方便,项目交流平台没多少人说话(难道大神都是不说话的?)(这两个评价是KJFrameForAndroid的作者对自己的评价,个人觉得作者是个天才。他的评价可能刚写完网上发布后写的。我在给他更新评价。因为现在已经过去了几个月一直在时不时更新。功能很全,项目文档也很全面,而且代码里注释最多 这方面这个很难得。交流平台人很多挺热闹,作者希望更热闹这样框架越来越完善。对于初学者希望看到Demo更完善)六、 dhroid官方介绍:dhroid 是基于android 平台, 极速开发框架,其核心设计目标是开发迅速、代码量少、学习简单、功能强大、轻量级、易扩展.使你更快,更好的开发商业级别应用开源地址: http://git.oschina.net/tengzhinei/dhroid功能:1.Ioc容器: (用过spring的都知道)视图注入,对象注入,接口注入,解决类依赖关系2.Eventbus: android平台事件总线框架,独创延时事件,事件管理轻松3.Dhnet: 网络http请求的解决方案,使用简单,减少代码,自带多种网络访问缓存策略4.adapter模块: 数据绑定轻松,不用写多余的adapter,天生网络支持(一行代码搞定加载,刷新问题)5.DhDb: android中sqlite的最轻量orm框架(增删改查轻松搞定)6.Perference: android自带Perference 升级版,让你的Perference更强大,更方便工具集合 JSONUtil(安全处理json),ViewUtil(数据绑定更快) ThreadWorker(异步任务工具)...优点:功能全面,有demo,作者也是为公司开发的框架。缺点:文档方面现在不是很好,就eoe上的那些。七、 SmartAndroid项目地址:http://www.aplesson.com/smartAndroid/demos官方介绍:SmartAndroid是一套给 Android开发者使用的应用程序开发框架和工具包。它提供一套丰富的标准库以及简单的接口和逻辑结构,其目的是使开发人员更快速地进行项目开发。使用 SmartAndroid可以减少代码的编写量,并将你的精力投入到项目的创造性开发上。功能:SmartAndroid 拥有全范围的类库,可以完成大多数通常需要的APP开发任务,包括: 异步网络操作相关所有功能、强大的图片处理操作、轻量级ORM数据库Sqlite库、zip操作 、动画特效、Html等解析采集、事件总线EventBus/Otto、Gson(Json)、AQuery、主流所有UI控件(例如:ActionbarSherlock,SlidingMenu,BottomView,Actionbar,DragListView等10多种UI库)等。优点:功能非常全,超出你索要、文档完善(作者很全面,官方网站是web响应式网站,框架里功能有UI各种特效应该最全了,一直更新中)缺点:jar包大点?(功能多不可避免,不是问题),在线文档(随响应式的手机访问也方便,但是网速慢就不好了,页面打开不是很流畅)八、 andBase官方介绍:andbase是为Android开发者量身打造的一款开源类库产品开源地址:https://code.jd.com/zhaoqp2010_m/andbase功能:1.andbase中包含了大量的开发常用手段。如网络下载,多线程与线程池的管理,数据库ORM,图片缓存管理,图片文件下载上传,Http请求工具,常用工具类(字符串,日期,文件处理,图片处理工具类等),能够使您的应用在团队开发中减少冗余代码,很大的提高了代码的维护性与开发高效性,能很好的规避由于开发疏忽而导致常犯的错误。2.andbase封装了大量的常用控件。如list分页,下拉刷新,图片轮播,表格,多线程下载器,侧边栏,图片上传,轮子选择,图表,Tab滑动,日历选择器等。3.强大的AbActivity,您没有理由不继承它。继承它你能够获得一个简单强大可设置的操作栏,以及一系列的简单调用,如弹出框,提示框,进度框,副操作栏等。4.提供效率较高图片缓存管理策略,使内存大幅度节省,利用率提高,效率提高。程序中要管理大量的图片资源,andbase提供简单的方法,几步完成下载与显示,并支持缩放,裁剪,缓存功能。5.封装了大量常见工具类。包括日期,字符,文件,图片等各种处理函数,多而全。6.用andbase大量减少handler的使用,而采用回调函数,代码更整洁。handler会产生大量代码,并且不好维护,andbase对handler进行了封装。7.简单轻量支持注解自动建表的ORM框架(支持一/多对多的关联操作)。写sql,建表,工作量大,andbase提供更傻瓜异步增删改查工具类。8.异步请求http框架,网络请求标准化,支持文件上传下载,get,post,进度显示。包含了异步与http请求的工具类,实用。9.热情的支持群体。优点:功能很全,demo做的好 、API文档完善、接近完美缺点:希望文档更详细些。九、 AndroidAnnotations项目地址:https://github.com/excilys/androidannotations功能:完全注解框架,一切皆为注解:声明控件,绑定控件,设置监听,setcontentview,长按事件,异步线程,全部通过注解实现。优点:完全的注解,使开发起来更加便利,程序员写的代码也更少。缺点:文档是全英文的加上功能比较少没有具体研究,由于一切都是注解,感觉效率不高,不过根据官方介绍说并不是使用的反射加载,所以效率比一般注解高很多。十、 volley项目地址: https://github.com/smanikandan14/Volley-demo功能:Volley是Android平台上的网络通信库,能使网络通信更快,更简单,更健壮异步加载网络图片、网络数据优点:Google官方推荐,请看去年的开发者大会介绍。缺点:功能比较少,只有网络数据加载和网络图片加载十一、 android-async-http项目地址:https://github.com/loopj/android-async-http文档介绍:http://loopj.com/android-async-http/ (1) 在匿名回调中处理请求结果 (2) 在UI线程外进行http请求 (3) 文件断点上传 (4) 智能重试 (5) 默认gzip压缩 (6) 支持解析成Json格式 (7) 可将Cookies持久化到SharedPreferences 有点:很简单很实用缺点:功能比较少, (只是针对的功能不是什么缺点)最后来个总结吧: 以上的开发框架网上都可以下载源码,也有demo实例的。当然我没分析和对比框架的效率性能,但是都非常实用,其作者大部分是个人,都是些牛人或天才。你可以直接使用,也可以把有用跳出来用,至少有很多使用工具。如果有发现Bug,作者希望把bug交给他。 Afinal 和 xUtils简单实用但是demo和更新的问题。 KJFrameForAndroid 算是新出的,功能也多,效率也应该好,代码也注释多 用起来也很方便。Dhroid 作者自己公司的框架,也可以直接请教。SmartAndroid 强劲的框架功能俱全。andBase 出来早各个方面算是完整的吧。转自:http://blog.csdn.net/buddyuu/article/details/40503471
元芳啊 2019-12-02 00:55:54 0 浏览量 回答数 0

云产品推荐

上海奇点人才服务相关的云产品 小程序定制 上海微企信息技术相关的云产品 国内短信套餐包 ECS云服务器安全配置相关的云产品 开发者问答 阿里云建站 自然场景识别相关的云产品 万网 小程序开发制作 视频内容分析 视频集锦 代理记账服务 阿里云AIoT