- 浏览: 842280 次
- 性别:
- 来自: 南京
-
文章分类
最新评论
-
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 1273tapestry入门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应用。 ...
qt 一个基于Qt Creator(qt,C++)实现中国象棋人机对战.
热带雨林自驾游自然奇观探索
冰川湖自驾游冰雪交融景象
C51 单片机数码管使用 Keil项目C语言源码
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
前端分析-2023071100789s12
Laz_制作了一些窗体和对话框样式.7z
1、文件内容:ocaml-docs-4.05.0-6.el7.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/data/output/ocaml-docs-4.05.0-6.el7.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、更多资源/技术支持:公众号禅静编程坊
学习笔记-沁恒第六讲-米醋
工业机器人技术讲解【36页】
内容概要:本文档详细介绍了在 CentOS 7 上利用 Docker 容器化环境来部署和配置 Elasticsearch 数据库的过程。首先概述了 Elasticsearch 的特点及其主要应用场景如全文检索、日志和数据分析等,并强调了其分布式架构带来的高性能与可扩展性。之后针对具体的安装流程进行了讲解,涉及创建所需的工作目录,准备docker-compose.yml文件以及通过docker-compose工具自动化完成镜像下载和服务启动的一系列命令;同时对可能出现的问题提供了应对策略并附带解决了分词功能出现的问题。 适合人群:从事IT运维工作的技术人员或对NoSQL数据库感兴趣的开发者。 使用场景及目标:该教程旨在帮助读者掌握如何在一个Linux系统中使用现代化的应用交付方式搭建企业级搜索引擎解决方案,特别适用于希望深入了解Elastic Stack生态体系的个人研究与团队项目实践中。 阅读建议:建议按照文中给出的具体步骤进行实验验证,尤其是要注意调整相关参数配置适配自身环境。对于初次接触此话题的朋友来说,应该提前熟悉一下Linux操作系统的基础命令行知识和Docker的相关基础知识
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
网络小说的类型创新、情节设计与角色塑造
毕业设计_基于springboot+vue开发的学生考勤管理系统【源码+sql+可运行】【50311】.zip 全部代码均可运行,亲测可用,尽我所能,为你服务; 1.代码压缩包内容 代码:springboo后端代码+vue前端页面代码 脚本:数据库SQL脚本 效果图:运行结果请看资源详情效果图 2.环境准备: - JDK1.8+ - maven3.6+ - nodejs14+ - mysql5.6+ - redis 3.技术栈 - 后台:springboot+mybatisPlus+Shiro - 前台:vue+iview+Vuex+Axios - 开发工具: idea、navicate 4.功能列表 - 系统设置:用户管理、角色管理、资源管理、系统日志 - 业务管理:班级信息、学生信息、课程信息、考勤记录、假期信息、公告信息 3.运行步骤: 步骤一:修改数据库连接信息(ip、port修改) 步骤二:找到启动类xxxApplication启动 4.若不会,可私信博主!!!
在智慧城市建设的大潮中,智慧园区作为其中的璀璨明珠,正以其独特的魅力引领着产业园区的新一轮变革。想象一下,一个集绿色、高端、智能、创新于一体的未来园区,它不仅融合了科技研发、商业居住、办公文创等多种功能,更通过深度应用信息技术,实现了从传统到智慧的华丽转身。 智慧园区通过“四化”建设——即园区运营精细化、园区体验智能化、园区服务专业化和园区设施信息化,彻底颠覆了传统园区的管理模式。在这里,基础设施的数据收集与分析让管理变得更加主动和高效,从温湿度监控到烟雾报警,从消防水箱液位监测到消防栓防盗水装置,每一处细节都彰显着智能的力量。而远程抄表、空调和变配电的智能化管控,更是在节能降耗的同时,极大地提升了园区的运维效率。更令人兴奋的是,通过智慧监控、人流统计和自动访客系统等高科技手段,园区的安全防范能力得到了质的飞跃,让每一位入驻企业和个人都能享受到“拎包入住”般的便捷与安心。 更令人瞩目的是,智慧园区还构建了集信息服务、企业服务、物业服务于一体的综合服务体系。无论是通过园区门户进行信息查询、投诉反馈,还是享受便捷的电商服务、法律咨询和融资支持,亦或是利用云ERP和云OA系统提升企业的管理水平和运营效率,智慧园区都以其全面、专业、高效的服务,为企业的发展插上了腾飞的翅膀。而这一切的背后,是大数据、云计算、人工智能等前沿技术的深度融合与应用,它们如同智慧的大脑,让园区的管理和服务变得更加聪明、更加贴心。走进智慧园区,就像踏入了一个充满无限可能的未来世界,这里不仅有科技的魅力,更有生活的温度,让人不禁对未来充满了无限的憧憬与期待。
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
内容概要:本文介绍了使用 Matlab 实现基于 BO(贝叶斯优化)的 Transformer 结合 GRU 门控循环单元时间序列预测的具体项目案例。文章首先介绍了时间序列预测的重要性及其现有方法存在的限制,随后深入阐述了该项目的目标、挑战与特色。重点描述了项目中采用的技术手段——结合 Transformer 和 GRU 模型的优点,通过贝叶斯优化进行超参数调整。文中给出了模型的具体实现步骤、代码示例以及完整的项目流程。同时强调了数据预处理、特征提取、窗口化分割、超参数搜索等关键技术点,并讨论了系统的设计部署细节、可视化界面制作等内容。 适合人群:具有一定机器学习基础,尤其是熟悉时间序列预测与深度学习的科研工作者或从业者。 使用场景及目标:适用于金融、医疗、能源等多个行业的高精度时间序列预测。该模型可通过捕捉长时间跨度下的复杂模式,提供更为精准的趋势预判,辅助相关机构作出合理的前瞻规划。 其他说明:此项目还涵盖了从数据采集到模型发布的全流程讲解,以及GUI图形用户界面的设计实现,有助于用户友好性提升和技术应用落地。此外,文档包含了详尽的操作指南和丰富的附录资料,包括完整的程序清单、性能评价指标等,便于读者动手实践。