Re: quickstart with 1.5 build

2011-08-08 Thread Martin Grigorov
try just http://localhost:8080

On Mon, Aug 8, 2011 at 9:38 AM, Kaz C kaz@gmail.com wrote:
 I'm trying to get going with quickstart on a 1.5 build off of trunk. After
 svn co, and mvn install, I used the form on
 http://wicket.apache.org/start/quickstart.html to generate the command line:

 mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
 -DarchetypeArtifactId=wicket-archetype-quickstart
 -DarchetypeVersion=1.5-SNAPSHOT -DgroupId=com.mycompany
 -DartifactId=myproject15 -DarchetypeRepository=
 https://repository.apache.org/content/repositories/snapshots/-DinteractiveMode=false

 which executed successfully. I then ran mvn jetty:run within 'myproject'
 directory and it also seemed to start up jetty fine. However, when I try to
 access http://localhost:8080/myproject15
 I get *HTTP ERROR 404 *Problem accessing /myproject15. Reason:* *Not Found

 have I missed a step in the setup, or is there anything else I can look into
 to find possible cause of this issue?

 Regards,
 Kaz C.


 $ mvn -version
 Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
 Java version: 1.6.0_21
 Java home: C:\Program Files\Java\jdk1.6.0_21\jre
 Default locale: en_US, platform encoding: Cp1252
 OS name: windows xp version: 5.1 arch: x86 Family: windows


 C:\open-source\myproject15mvn jetty:run
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building quickstart
 [INFO]    task-segment: [jetty:run]
 [INFO]
 
 [INFO] Preparing jetty:run
 [INFO] [resources:resources {execution: default-resources}]
 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] Copying 1 resource
 [INFO] Copying 1 resource
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [resources:testResources {execution: default-testResources}]
 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] Copying 0 resource
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [jetty:run {execution: default-cli}]
 [INFO] Configuring Jetty for project: quickstart
 [INFO] webAppSourceDirectory
 C:\open-source\open-source-commits\myproject15\src\main\webapp does not
 exist. Defaulting to C:\open-source\open-source-c
 ommits\myproject15\src\main\webapp
 [INFO] Reload Mechanic: automatic
 [INFO] Classes =
 C:\open-source\open-source-commits\myproject15\target\classes
 [INFO] Context path = /
 [INFO] Tmp directory =
 C:\open-source\open-source-commits\myproject15\target\tmp
 [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
 [INFO] Web overrides =  none
 [INFO] web.xml file =
 file:/C:/open-source/open-source-commits/myproject15/src/main/webapp/WEB-INF/web.xml
 [INFO] Webapp directory =
 C:\open-source\open-source-commits\myproject15\src\main\webapp
 [INFO] Starting jetty 7.3.0.v20110203 ...
 2011-08-07 23:21:06.564:INFO::jetty-7.3.0.v20110203
 2011-08-07 23:21:07.908:INFO::No Transaction manager found - if your webapp
 requires one, please configure one.
 2011-08-07 23:21:08.408:INFO::started
 o.m.j.p.JettyWebAppContext{/,file:/C:/open-source/myproject15/src/main/webapp/},file:/C:/ope
 n-source/myproject15/src/main/webapp/
 INFO  - WebXmlFile                 - web.xml: url mapping found for filter
 with name wicket.myproject15: [/*]
 INFO  - Application                - [wicket.myproject15] init: Wicket core
 library initializer
 INFO  - RequestListenerInterface   - registered listener interface
 [RequestListenerInterface name=IBehaviorListener, method=public abstract
 void org.a
 pache.wicket.behavior.IBehaviorListener.onRequest()]
 INFO  - RequestListenerInterface   - registered listener interface
 [RequestListenerInterface name=IBehaviorListener, method=public abstract
 void org.a
 pache.wicket.behavior.IBehaviorListener.onRequest()]
 INFO  - RequestListenerInterface   - registered listener interface
 [RequestListenerInterface name=IFormSubmitListener, method=public abstract
 void org
 .apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
 INFO  - RequestListenerInterface   - registered listener interface
 [RequestListenerInterface name=IFormSubmitListener, method=public abstract
 void org
 .apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
 INFO  - RequestListenerInterface   - registered listener interface
 [RequestListenerInterface name=ILinkListener, method=public abstract void
 org.apach
 e.wicket.markup.html.link.ILinkListener.onLinkClicked()]
 INFO  - RequestListenerInterface   - registered listener interface
 [RequestListenerInterface name=ILinkListener, method=public abstract void
 org.apach
 e.wicket.markup.html.link.ILinkListener.onLinkClicked()]
 INFO  - RequestListenerInterface   - 

Re: quickstart with 1.5 build

2011-08-08 Thread Kaz C
aha, thanks. worked.

On Mon, Aug 8, 2011 at 12:29 AM, Martin Grigorov mgrigo...@apache.orgwrote:

 try just http://localhost:8080

 On Mon, Aug 8, 2011 at 9:38 AM, Kaz C kaz@gmail.com wrote:
  I'm trying to get going with quickstart on a 1.5 build off of trunk.
 After
  svn co, and mvn install, I used the form on
  http://wicket.apache.org/start/quickstart.html to generate the command
 line:
 
  mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
  -DarchetypeArtifactId=wicket-archetype-quickstart
  -DarchetypeVersion=1.5-SNAPSHOT -DgroupId=com.mycompany
  -DartifactId=myproject15 -DarchetypeRepository=
 
 https://repository.apache.org/content/repositories/snapshots/-DinteractiveMode=false
 
  which executed successfully. I then ran mvn jetty:run within 'myproject'
  directory and it also seemed to start up jetty fine. However, when I try
 to
  access http://localhost:8080/myproject15
  I get *HTTP ERROR 404 *Problem accessing /myproject15. Reason:* *Not
 Found
 
  have I missed a step in the setup, or is there anything else I can look
 into
  to find possible cause of this issue?
 
  Regards,
  Kaz C.
 
 
  $ mvn -version
  Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
  Java version: 1.6.0_21
  Java home: C:\Program Files\Java\jdk1.6.0_21\jre
  Default locale: en_US, platform encoding: Cp1252
  OS name: windows xp version: 5.1 arch: x86 Family: windows
 
 
  C:\open-source\myproject15mvn jetty:run
  [INFO] Scanning for projects...
  [INFO]
  
  [INFO] Building quickstart
  [INFO]task-segment: [jetty:run]
  [INFO]
  
  [INFO] Preparing jetty:run
  [INFO] [resources:resources {execution: default-resources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
  resources, i.e. build is platform dependent!
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] [compiler:compile {execution: default-compile}]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [resources:testResources {execution: default-testResources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
  resources, i.e. build is platform dependent!
  [INFO] Copying 0 resource
  [INFO] [compiler:testCompile {execution: default-testCompile}]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [jetty:run {execution: default-cli}]
  [INFO] Configuring Jetty for project: quickstart
  [INFO] webAppSourceDirectory
  C:\open-source\open-source-commits\myproject15\src\main\webapp does not
  exist. Defaulting to C:\open-source\open-source-c
  ommits\myproject15\src\main\webapp
  [INFO] Reload Mechanic: automatic
  [INFO] Classes =
  C:\open-source\open-source-commits\myproject15\target\classes
  [INFO] Context path = /
  [INFO] Tmp directory =
  C:\open-source\open-source-commits\myproject15\target\tmp
  [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  [INFO] Web overrides =  none
  [INFO] web.xml file =
 
 file:/C:/open-source/open-source-commits/myproject15/src/main/webapp/WEB-INF/web.xml
  [INFO] Webapp directory =
  C:\open-source\open-source-commits\myproject15\src\main\webapp
  [INFO] Starting jetty 7.3.0.v20110203 ...
  2011-08-07 23:21:06.564:INFO::jetty-7.3.0.v20110203
  2011-08-07 23:21:07.908:INFO::No Transaction manager found - if your
 webapp
  requires one, please configure one.
  2011-08-07 23:21:08.408:INFO::started
 
 o.m.j.p.JettyWebAppContext{/,file:/C:/open-source/myproject15/src/main/webapp/},file:/C:/ope
  n-source/myproject15/src/main/webapp/
  INFO  - WebXmlFile - web.xml: url mapping found for
 filter
  with name wicket.myproject15: [/*]
  INFO  - Application- [wicket.myproject15] init: Wicket
 core
  library initializer
  INFO  - RequestListenerInterface   - registered listener interface
  [RequestListenerInterface name=IBehaviorListener, method=public abstract
  void org.a
  pache.wicket.behavior.IBehaviorListener.onRequest()]
  INFO  - RequestListenerInterface   - registered listener interface
  [RequestListenerInterface name=IBehaviorListener, method=public abstract
  void org.a
  pache.wicket.behavior.IBehaviorListener.onRequest()]
  INFO  - RequestListenerInterface   - registered listener interface
  [RequestListenerInterface name=IFormSubmitListener, method=public
 abstract
  void org
  .apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
  INFO  - RequestListenerInterface   - registered listener interface
  [RequestListenerInterface name=IFormSubmitListener, method=public
 abstract
  void org
  .apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
  INFO  - RequestListenerInterface   - registered listener interface
  [RequestListenerInterface name=ILinkListener, method=public abstract void
  org.apach
  e.wicket.markup.html.link.ILinkListener.onLinkClicked()]
  INFO  - RequestListenerInterface