- 浏览: 842337 次
- 性别:
- 来自: 南京
-
文章分类
最新评论
-
xieye:
jetty插件有好几个版本,1.6,1.7,1.8
我选的是用 ...
tapestry入门(翻译)3 导入项目到eclipse -
xieye:
还有,
注:第2部分时,需要先安装jetty,我自己在安装过程 ...
tapestry入门(翻译)3 导入项目到eclipse -
xieye:
说明一下:实际使用中,导入时我并没有错误。2、我把eclips ...
tapestry入门(翻译)3 导入项目到eclipse -
xieye:
其实还是有一些先决条件的。1是外部环境,2是进步是阶段性的(意 ...
(转载文章)如何愉悦起来:一位精神治疗师的见解 -
mandy_yanzi:
我都已经饿7天了坚持为了我的衣衣
身体健康的问题
原文:
http://tapestry.apache.org/loading-the-project-into-eclipse.html
首先让maven为我们创建eclipse的项目文件(.classpath and .project)
$ mvn eclipse:eclipse -DdownloadSources=true [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom (7 KB at 7.1 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.jar (76 KB at 83.4 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml (680 B at 1.9 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.pom (12 KB at 22.9 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/17/maven-plugins-17.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/17/maven-plugins-17.pom (13 KB at 25.6 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar (202 KB at 237.8 KB/sec) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building tutorial1 Tapestry 5 Application 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ tutorial1 >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ tutorial1 <<< [INFO] [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ tutorial1 --- Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom (2 KB at 2.3 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom (2 KB at 3.7 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom (767 B at 1.5 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom (6 KB at 11.6 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom (3 KB at 4.8 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.pom (772 B at 1.9 KB/sec) Downloading: http://repo1.maven.org/maven2/jline/jline/0.9.1/jline-0.9.1.pom Downloaded: http://repo1.maven.org/maven2/jline/jline/0.9.1/jline-0.9.1.pom (145 B at 0.3 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom (2 KB at 2.5 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom (2 KB at 4.1 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/maven-parent-4.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/maven-parent-4.pom (10 KB at 19.7 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom Downloaded: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom (0 B at 0.0 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.pom Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.pom (2 KB at 2.8 KB/sec) Downloading: http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.145/bndlib-0.0.145.pom Downloaded: http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.145/bndlib-0.0.145.pom (886 B at 1.8 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.pom (2 KB at 4.0 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom (3 KB at 5.3 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom (21 KB at 41.9 KB/sec) Downloading: http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom Downloaded: http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom (886 B at 1.9 KB/sec) Downloading: http://repo1.maven.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.pom Downloaded: http://repo1.maven.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.pom (2 KB at 2.3 KB/sec) Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/jline/jline/0.9.1/jline-0.9.1.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar (139 KB at 94.5 KB/sec) Downloading: http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.145/bndlib-0.0.145.jar Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar (6 KB at 3.0 KB/sec) Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar Downloaded: http://repo1.maven.org/maven2/jline/jline/0.9.1/jline-0.9.1.jar (46 KB at 23.0 KB/sec) Downloading: http://repo1.maven.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar (23 KB at 10.3 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar (10 KB at 4.0 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar (13 KB at 7.0 KB/sec) Downloaded: http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.145/bndlib-0.0.145.jar (112 KB at 49.6 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar (663 KB at 258.9 KB/sec) [INFO] Using Eclipse Workspace: /Users/hlship/Documents/workspace [WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5 Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-core/5.3/tapestry-core-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-core/5.3/tapestry-core-5.3-sources.jar (2403 KB at 558.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/antlr/antlr/2.7.7/antlr-2.7.7-sources.jar Downloading: http://repo1.maven.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-json/5.3/tapestry-json-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-json/5.3/tapestry-json-5.3-sources.jar (24 KB at 63.5 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-ioc/5.3/tapestry-ioc-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-ioc/5.3/tapestry-ioc-5.3-sources.jar (414 KB at 494.3 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-func/5.3/tapestry-func-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-func/5.3/tapestry-func-5.3-sources.jar (36 KB at 246.0 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry5-annotations/5.3/tapestry5-annotations-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry5-annotations/5.3/tapestry5-annotations-5.3-sources.jar (20 KB at 157.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/plastic/5.3/plastic-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/plastic/5.3/plastic-5.3-sources.jar (720 KB at 633.5 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-javadoc/5.3/tapestry-javadoc-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-javadoc/5.3/tapestry-javadoc-5.3-sources.jar (10 KB at 33.8 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-test/5.3/tapestry-test-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-test/5.3/tapestry-test-5.3-sources.jar (454 KB at 698.4 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135-sources.jar Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2-sources.jar (382 KB at 418.3 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1-sources.jar (286 KB at 542.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/xalan/serializer/2.7.1/serializer-2.7.1-sources.jar Downloading: http://repo1.maven.org/maven2/xalan/serializer/2.7.1/serializer-2.7.1-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/httpcomponents/httpmime/4.0.1/httpmime-4.0.1-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/httpcomponents/httpmime/4.0.1/httpmime-4.0.1-sources.jar (24 KB at 56.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6-sources.jar (314 KB at 574.1 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1-sources.jar Downloading: http://repo1.maven.org/maven2/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1-sources.jar (22 KB at 66.0 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-webapp/7.0.0.v20091005/jetty-webapp-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-webapp/7.0.0.v20091005/jetty-webapp-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-webapp/7.0.0.v20091005/jetty-webapp-7.0.0.v20091005-sources.jar (40 KB at 63.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-xml/7.0.0.v20091005/jetty-xml-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-xml/7.0.0.v20091005/jetty-xml-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-xml/7.0.0.v20091005/jetty-xml-7.0.0.v20091005-sources.jar (16 KB at 44.6 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-util/7.0.0.v20091005/jetty-util-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/7.0.0.v20091005/jetty-util-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/7.0.0.v20091005/jetty-util-7.0.0.v20091005-sources.jar (117 KB at 228.4 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-servlet/7.0.0.v20091005/jetty-servlet-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlet/7.0.0.v20091005/jetty-servlet-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlet/7.0.0.v20091005/jetty-servlet-7.0.0.v20091005-sources.jar (40 KB at 110.2 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-security/7.0.0.v20091005/jetty-security-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-security/7.0.0.v20091005/jetty-security-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-security/7.0.0.v20091005/jetty-security-7.0.0.v20091005-sources.jar (45 KB at 128.6 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-server/7.0.0.v20091005/jetty-server-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/7.0.0.v20091005/jetty-server-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/7.0.0.v20091005/jetty-server-7.0.0.v20091005-sources.jar (163 KB at 296.6 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-continuation/7.0.0.v20091005/jetty-continuation-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/7.0.0.v20091005/jetty-continuation-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/7.0.0.v20091005/jetty-continuation-7.0.0.v20091005-sources.jar (16 KB at 42.0 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-http/7.0.0.v20091005/jetty-http-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/7.0.0.v20091005/jetty-http-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/7.0.0.v20091005/jetty-http-7.0.0.v20091005-sources.jar (75 KB at 215.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/org/eclipse/jetty/jetty-io/7.0.0.v20091005/jetty-io-7.0.0.v20091005-sources.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/7.0.0.v20091005/jetty-io-7.0.0.v20091005-sources.jar Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/7.0.0.v20091005/jetty-io-7.0.0.v20091005-sources.jar (48 KB at 135.9 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12-sources.jar Downloading: http://repo1.maven.org/maven2/jetty/org.mortbay.jetty/5.1.12/org.mortbay.jetty-5.1.12-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tomcat/dbcp/6.0.30/dbcp-6.0.30-sources.jar Downloading: http://repo1.maven.org/maven2/org/apache/tomcat/dbcp/6.0.30/dbcp-6.0.30-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tomcat/coyote/6.0.30/coyote-6.0.30-sources.jar Downloading: http://repo1.maven.org/maven2/org/apache/tomcat/coyote/6.0.30/coyote-6.0.30-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tomcat/catalina/6.0.30/catalina-6.0.30-sources.jar Downloading: http://repo1.maven.org/maven2/org/apache/tomcat/catalina/6.0.30/catalina-6.0.30-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tomcat/servlet-api/6.0.30/servlet-api-6.0.30-sources.jar Downloading: http://repo1.maven.org/maven2/org/apache/tomcat/servlet-api/6.0.30/servlet-api-6.0.30-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tomcat/juli/6.0.30/juli-6.0.30-sources.jar Downloading: http://repo1.maven.org/maven2/org/apache/tomcat/juli/6.0.30/juli-6.0.30-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tomcat/annotations-api/6.0.30/annotations-api-6.0.30-sources.jar Downloading: http://repo1.maven.org/maven2/org/apache/tomcat/annotations-api/6.0.30/annotations-api-6.0.30-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/beanshell/bsh/2.0b4/bsh-2.0b4-sources.jar Downloading: http://repo1.maven.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0b4-sources.jar Downloading: https://repository.apache.org/content/groups/staging/com/google/inject/guice/2.0/guice-2.0-sources.jar Downloading: http://repo1.maven.org/maven2/com/google/inject/guice/2.0/guice-2.0-sources.jar Downloading: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-yuicompressor/5.3/tapestry-yuicompressor-5.3-sources.jar Downloaded: https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-yuicompressor/5.3/tapestry-yuicompressor-5.3-sources.jar (7 KB at 25.8 KB/sec) Downloading: https://repository.apache.org/content/groups/staging/rhino/js/1.6R7/js-1.6R7-sources.jar Downloading: http://repo1.maven.org/maven2/rhino/js/1.6R7/js-1.6R7-sources.jar [INFO] Wrote settings to /Users/hlship/Documents/workspace/tutorial1/.settings/org.eclipse.jdt.core.prefs [INFO] Wrote Eclipse project for "tutorial1" to /Users/hlship/Documents/workspace/tutorial1. [INFO] Sources for some artifacts are not available. List of artifacts without a source archive: o antlr:antlr:2.7.7 o bouncycastle:bcprov-jdk15:135 o xalan:serializer:2.7.1 o xerces:xercesImpl:2.9.1 o jetty:org.mortbay.jetty:5.1.12 o org.apache.tomcat:dbcp:6.0.30 o org.apache.tomcat:coyote:6.0.30 o org.apache.tomcat:catalina:6.0.30 o org.apache.tomcat:servlet-api:6.0.30 o org.apache.tomcat:juli:6.0.30 o org.apache.tomcat:annotations-api:6.0.30 o org.beanshell:bsh:2.0b4 o com.google.inject:guice:2.0 o rhino:js:1.6R7 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39.526s [INFO] Finished at: Tue Nov 22 11:52:57 PST 2011 [INFO] Final Memory: 9M/81M [INFO] ------------------------------------------------------------------------ ~/Documents/workspace/tutorial1
在这里,maven已经创建了eclipse的.project and .classpath文件,我们可以导入项目了。此外,由于我们指定了 -DdownloadSources=true,maven也下载了库的源代码jar包(如果有的话),这意味着我们能在eclipse里看到tapestry库的各种源代码,在调试时这可是很有用的
在这里,我们已经准备好把maven创建的项目导入到eclipse里,启动eclipse,然后切换视图到Java Perspective(java透视图).
右击Package Explorer下的空白地方,然后选择“import...”。
选择 "existing projects" 这一项:
现在选择用Maven创建的文件夹:
当你点击finish按钮时,项目将导入到eclipse的工作空间。
无论如何,有一些错误。maven预期你将配置一个classpath变量,M2_REPO,指向你的本地仓库。在你的家目录(译注:xp上通常是C:\Documents and Settings\Administrator)下的某个目录存储了所有的下载的jar包和别的文件。打开eclispe->preferences->java->Build Path->Classpath Variable
点击 New 按钮, 输入 the new variable新变量 (你要调整到适应你自己的操作系统的路径):
现在eclipse将执行一个干净的构建,错误会消失。
eclipse中运行应用程序
我们的工作是启动jetty来运行应用程序,在eclipse的路径之外,这是一种很好的开发web程序的方式,因为这样我们就不必再使用maven来编译和运行应用程序了。更糟糕的是,如果使用maven打包和部署程序,那么当我们想把程序部署到生产环境中就太慢了。对于开发,我们需要一个快速敏捷的环境来适应变化,这意味着我们不能等待重新部署和重新启动服务器。
选择run...这一菜单,弹出启动配置对话框。
(译注:先安装jetty的eclipse插件,URL是http://run-jetty-run.googlecode.com/svn/trunk/updatesite)
右击jetty webapp,然后点击New按钮,再填充一些数值如下:
你需要点击“Show advanced Options”复选框,然后反选(译注:即取消)"SSL" 和"Enable Scanner".
tapestry会运行的很好,你需要点击"Arguments" 标签页,输入下列VM参数:
-XX:MaxPermSize=256M -Xmx600m -Dtapestry.execution-mode=development
相对一个典型的应用程序,tapestry使用更多的PermGen空间(java内存的一部分,用于加载类),并且使用更多的堆内存。
这样的设置能更好的适应大中型tapestry应用程序,保证java良好运行即使垃圾收集比较频繁,而刚才的设置VM参数确保了开发时比较好,而且异常报告也比较详细。
用这样的设置,你可以点击run然后jetty将启动(只需要几秒钟)。
一旦你点击run,jetty将启动(一两秒)(译注:如果有提示不能启动,则先点击选中左边的项目tutorial1)
打开浏览器,输入 http://localhost:8080/tutorial1/ 看效果
上一篇:
http://xieye.iteye.com/blog/1663554
下一篇:
http://xieye.iteye.com/blog/1664101
评论
我选的是用1.6
注:第2部分时,需要先安装jetty,我自己在安装过程中发现插件给了两个选项,我自己选的是1.3那个,就是下面那个。(我没试过上面那个,应该也可以)
安装jetty需要点耐心,时间长。
实际使用中,导入时我并没有错误。
2、我把eclipse里的maven配置中的download repository index updates on startup这一项反选,免得无休止的更新。
发表评论
-
tapestry入门(翻译)4 项目研究
2012-08-27 15:57 2233原文: http://tapestry.apache.org ... -
tapestry入门(翻译)2
2012-08-27 10:04 1274tapestry入门2(翻译) 原文: http: ... -
tapestry入门(翻译)
2012-08-27 08:36 1077原文: http://tapestry.apac ... -
hibernate3完整入门示例含jar包
2012-07-25 18:19 1293本文是学习hibernate3用的 来源 Added by ... -
ant示例
2012-07-25 17:59 797<?xml version="1.0&qu ...
相关推荐
- 使用提供的WAR文件导入到Eclipse或NetBeans等IDE中。 - 或者使用Maven创建一个新的Tapestry 5项目。 3. **项目结构** - 在项目的`source`文件夹中找到根包`t5demo`。 - 查看`web.xml`部署描述符,了解...
另外,推荐使用Eclipse或NetBeans等集成开发环境,以简化项目管理和代码编写。通过导入WAR文件或使用Apache Maven,可以快速设置开发环境。一旦环境配置完毕,只需简单几步就能启动并运行第一个Tapestry 5应用。 ...
漫画作品与时间旅行题材
Spring Boot特点: 1、创建一个单独的Spring应用程序; 2、嵌入式Tomcat,无需部署WAR文件; 3、简化Maven配置; 4、自动配置Spring; 5、提供生产就绪功能,如指标,健康检查和外部配置; 6、绝对没有代码生成和XML的配置要求;第一章 绪 论 1 1.1背景及意义 1 1.2国内外研究概况 2 1.3 研究的内容 2 第二章 关键技术的研究 3 2.1 相关技术 3 2.2 Java技术 3 2.3 ECLIPSE 开发环境 4 2.4 Tomcat介绍 4 2.5 Spring Boot框架 5 第三章 系统分析 5 3.1 系统设计目标 6 3.2 系统可行性分析 6 3.3 系统功能分析和描述 7 3.4系统UML用例分析 8 3.4.1管理员用例 9 3.4.2用户用例 9 3.5系统流程分析 10 3.5.1添加信息流程 11 3.5.2操作流程 12 3.5.3删除信息流程 13 第四章 系统设计 14 4.1 系统体系结构 15 4.2 数据库设计原则 16 4.3 数据表 17 第五章 系统实现 18 5.1用户功能模块 18 5.2
内容概要:本文作为PyTorch的入门指南,首先介绍了PyTorch相较于TensorFlow的优势——动态计算图、自动微分和丰富API。接着讲解了环境搭建、PyTorch核心组件如张量(Tensor)、autograd模块以及神经网络的定义方式(如nn.Module),并且给出了详细的神经网络训练流程,包括前向传播、计算损失值、进行反向传播以计算梯度,最终调整权重参数。此外还简要提及了一些拓展资源以便进一步探索这个深度学习工具。 适用人群:初次接触深度学习技术的新学者和技术爱好者,有一定程序基础并希望通过PyTorch深入理解机器学习算法实现的人。 使用场景及目标:该文档有助于建立使用者对于深度学习及其具体实践有更加直观的理解,在完成本教程之后,读者应当能够在个人设备上正确部署Python环境,并依据指示独立创建自己的简易深度学习项目。 其他说明:文中所提及的所有示例均可被完整重现,同时官方提供的资料链接也可以方便有兴趣的人士对感兴趣之处继续挖掘,这不仅加深了对PyTorch本身的熟悉程度,也为未来的研究或者工程项目打下了良好的理论基础和实践经验。
古镇美食自驾游:舌尖上的历史韵味
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
漫画作品与神话传说融合
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
ADC推理软件AI程序
漫画作品与科幻元素融合
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
java-springboot+vue景区民宿预约系统实现源码(完整前后端+mysql+说明文档+LunW+PPT).zip
在智慧城市建设的大潮中,智慧园区作为其中的璀璨明珠,正以其独特的魅力引领着产业园区的新一轮变革。想象一下,一个集绿色、高端、智能、创新于一体的未来园区,它不仅融合了科技研发、商业居住、办公文创等多种功能,更通过深度应用信息技术,实现了从传统到智慧的华丽转身。 智慧园区通过“四化”建设——即园区运营精细化、园区体验智能化、园区服务专业化和园区设施信息化,彻底颠覆了传统园区的管理模式。在这里,基础设施的数据收集与分析让管理变得更加主动和高效,从温湿度监控到烟雾报警,从消防水箱液位监测到消防栓防盗水装置,每一处细节都彰显着智能的力量。而远程抄表、空调和变配电的智能化管控,更是在节能降耗的同时,极大地提升了园区的运维效率。更令人兴奋的是,通过智慧监控、人流统计和自动访客系统等高科技手段,园区的安全防范能力得到了质的飞跃,让每一位入驻企业和个人都能享受到“拎包入住”般的便捷与安心。 更令人瞩目的是,智慧园区还构建了集信息服务、企业服务、物业服务于一体的综合服务体系。无论是通过园区门户进行信息查询、投诉反馈,还是享受便捷的电商服务、法律咨询和融资支持,亦或是利用云ERP和云OA系统提升企业的管理水平和运营效率,智慧园区都以其全面、专业、高效的服务,为企业的发展插上了腾飞的翅膀。而这一切的背后,是大数据、云计算、人工智能等前沿技术的深度融合与应用,它们如同智慧的大脑,让园区的管理和服务变得更加聪明、更加贴心。走进智慧园区,就像踏入了一个充满无限可能的未来世界,这里不仅有科技的魅力,更有生活的温度,让人不禁对未来充满了无限的憧憬与期待。
边境自驾游异国风情深度体验
在智慧城市建设的大潮中,智慧园区作为其中的璀璨明珠,正以其独特的魅力引领着产业园区的新一轮变革。想象一下,一个集绿色、高端、智能、创新于一体的未来园区,它不仅融合了科技研发、商业居住、办公文创等多种功能,更通过深度应用信息技术,实现了从传统到智慧的华丽转身。 智慧园区通过“四化”建设——即园区运营精细化、园区体验智能化、园区服务专业化和园区设施信息化,彻底颠覆了传统园区的管理模式。在这里,基础设施的数据收集与分析让管理变得更加主动和高效,从温湿度监控到烟雾报警,从消防水箱液位监测到消防栓防盗水装置,每一处细节都彰显着智能的力量。而远程抄表、空调和变配电的智能化管控,更是在节能降耗的同时,极大地提升了园区的运维效率。更令人兴奋的是,通过智慧监控、人流统计和自动访客系统等高科技手段,园区的安全防范能力得到了质的飞跃,让每一位入驻企业和个人都能享受到“拎包入住”般的便捷与安心。 更令人瞩目的是,智慧园区还构建了集信息服务、企业服务、物业服务于一体的综合服务体系。无论是通过园区门户进行信息查询、投诉反馈,还是享受便捷的电商服务、法律咨询和融资支持,亦或是利用云ERP和云OA系统提升企业的管理水平和运营效率,智慧园区都以其全面、专业、高效的服务,为企业的发展插上了腾飞的翅膀。而这一切的背后,是大数据、云计算、人工智能等前沿技术的深度融合与应用,它们如同智慧的大脑,让园区的管理和服务变得更加聪明、更加贴心。走进智慧园区,就像踏入了一个充满无限可能的未来世界,这里不仅有科技的魅力,更有生活的温度,让人不禁对未来充满了无限的憧憬与期待。