所以我打开了intelliJ ultimate并使用pom.xml打开了这个应用程序:
https://src.springframework.org/svn/spring-samples/mvc-basic/trunk/
应用程序构建得很好,我用tomcat 6(我设置)运行它。
我刚收到一个默认的tomcat欢迎屏幕。
我在这里缺少什么?
单击运行显示:
Jun 23, 2010 8:28:12 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Applications/IntelliJ IDEA 9.0.2.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Jun 23, 2010 8:28:12 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 23, 2010 8:28:12 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 488 ms
Jun 23, 2010 8:28:12 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 23, 2010 8:28:12 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Jun 23, 2010 8:28:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jun 23, 2010 8:28:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jun 23, 2010 8:28:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Jun 23, 2010 8:28:13 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Jun 23, 2010 8:28:13 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jun 23, 2010 8:28:13 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 23, 2010 8:28:13 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 23, 2010 8:28:13 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Jun 23, 2010 8:28:13 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 796 ms
Connected to server
答案 0 :(得分:0)
转到运行/调试配置并检查您为Tomcat服务器创建的设置,您已选择要部署的工件。
如果您设置了工件,那么它们将显示在窗口中。
如果您没有设置工件,则需要在“项目结构”窗口中执行此操作。 (文件 - >项目结构)