Here is the output from the command you indicated D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2>mvn jetty:run [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'jetty'. [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Light [INFO] task-segment: [jetty:run] [INFO] ------------------------------------------------------------------------ [INFO] Preparing jetty:run [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [jetty:run] [INFO] Configuring Jetty for project: AppFuse Light [INFO] Webapp source directory = D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp [INFO] Reload Mechanic: automatic [INFO] Classes = D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\target\classes [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\META-INF\context.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\applicationContext-hibernate.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\applicationContext-validation.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\applicationContext.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\decorators.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\dispatcher-servlet.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\dwr.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\sitemesh.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\validation.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\validator-rules.xml [INFO] Adding extra scan target from pattern: D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\web.xml 2009-12-11 17:13:58.752:INFO::Logging to STDERR via org.mortbay.log.StdErrLog [INFO] Context path = / [INFO] Tmp directory = determined at runtime [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml [INFO] Web overrides = none [INFO] web.xml file = D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp\WEB-INF\web.xml [INFO] Webapp directory = D:\Kits\AppFuse\appfuse-light-spring-hibernate-1.8.2\src\main\webapp [INFO] Starting jetty 6.1.22 ... 2009-12-11 17:13:58.799:INFO::jetty-6.1.22 2009-12-11 17:13:58.908:INFO::No Transaction manager found - if your webapp requires one, please configure one. 2009-12-11 17:13:59.205:INFO:/:Initializing Spring root WebApplicationContext 2009-12-11 17:14:00.612:INFO:/:Initializing Spring FrameworkServlet 'dispatcher' 2009-12-11 17:14:00.705:INFO::Started selectchannelconnec...@0.0.0.0:8080 [INFO] Started Jetty Server [INFO] Starting scanner at interval of 3 seconds.
Is it OK? mraible wrote: > > You can still edit and compile the code in Eclipse, I'm just wondering if > the command line works. If it does, that means there's a problem with your > Eclipse configuration. If it doesn't, it might be a problem with your > environment or Maven. It's likely we'll get a better error from the > command > line if you have environment issues. > > Matt > > On Fri, Dec 11, 2009 at 6:26 AM, AlexP <ap2k8...@gmail.com> wrote: > >> >> I need to edit the code from Eclipse >> >> >> >> mraible wrote: >> > >> > Have you tried simply running it from the command line using "mvn >> > jetty:run" >> > and then navigating to http://localhost:8080? >> > >> > On Fri, Dec 11, 2009 at 6:09 AM, AlexP <ap2k8...@gmail.com> wrote: >> > >> >> >> >> Hello, >> >> >> >> I have the following issue. >> >> >> >> 1. I have downloaded appfuse-light-spring-hibernate-1.8.2.zip from >> >> >> >> >> https://appfuse-light.dev.java.net/servlets/ProjectDocumentList?folderID=9159&expandFolder=9159&folderID=0 >> >> >> >> 2. I have extracted the zip and ran "mvn -DdownloadSources=true >> >> -Dwtpversion=1.5 eclipse:clean eclipse:eclipse" inside the newly >> >> extracted >> >> folder >> >> >> >> 3. I have imported the file in Eclipse (File -> Import -> from >> existing >> >> folder etc) >> >> >> >> 4. Defined M2_REPO in eclipse, etc, the "Validate" on the project >> shows >> >> no >> >> problem. >> >> >> >> 5. I add the project to the tomcat 6 server, deploy, and start the >> server >> >> (no error). >> >> >> >> 6. PROBLEM: when i request "http://localhost:8080/appfuse-light/" in >> >> browser >> >> i get: >> >> The requested resource (/appfuse-light/) is not available. >> >> >> >> 7. PROBLEM: the deployed folder is like in the image >> >> strange_deployment.jpg, >> >> which is wrong. >> >> http://n4.nabble.com/file/n961043/strange_deployment.jpg >> >> >> >> Here is also the eclipse screenshot (appfusion_eclipse.jpg): >> >> http://n4.nabble.com/file/n961043/appfusion_eclipse.jpg >> >> >> >> >> >> What am I doing wrong? >> >> -- >> >> View this message in context: >> >> >> http://n4.nabble.com/appfuse-light-spring-hibernate-eclipse-issue-tp961043p961043.html >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://n4.nabble.com/appfuse-light-spring-hibernate-eclipse-issue-tp961043p961054.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> > > -- View this message in context: http://n4.nabble.com/appfuse-light-spring-hibernate-eclipse-issue-tp961043p961134.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net