You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kaz C <ka...@gmail.com> on 2011/08/08 08:38:13 UTC

quickstart with 1.5 build

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\myproject15>mvn 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   - registered listener interface
[RequestListenerInterface name=IOnChangeListener, method=public abstract
void org.a
pache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IOnChangeListener, method=public abstract
void org.a
pache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IRedirectListener, method=public abstract
void org.a
pache.wicket.IRedirectListener.onRedirect()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IRedirectListener, method=public abstract
void org.a
pache.wicket.IRedirectListener.onRedirect()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IResourceListener, method=public abstract
void org.a
pache.wicket.IResourceListener.onResourceRequested()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IResourceListener, method=public abstract
void org.a
pache.wicket.IResourceListener.onResourceRequested()]
INFO  - WebApplication             - [wicket.myproject15] Started Wicket
version 1.5-SNAPSHOT in DEVELOPMENT mode
********************************************************************
*** WARNING: Wicket is running in DEVELOPMENT mode.              ***
***                               ^^^^^^^^^^^                    ***
*** Do NOT deploy to your live server(s) without changing this.  ***
*** See Application#getConfigurationType() for more information. ***
********************************************************************
2011-08-07 23:21:09.236:INFO::Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server

Re: quickstart with 1.5 build

Posted by Kaz C <ka...@gmail.com>.
aha, thanks. worked.

On Mon, Aug 8, 2011 at 12:29 AM, Martin Grigorov <mg...@apache.org>wrote:

> try just http://localhost:8080
>
> On Mon, Aug 8, 2011 at 9:38 AM, Kaz C <ka...@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\myproject15>mvn 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   - registered listener interface
> > [RequestListenerInterface name=IOnChangeListener, method=public abstract
> > void org.a
> > pache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
> > INFO  - RequestListenerInterface   - registered listener interface
> > [RequestListenerInterface name=IOnChangeListener, method=public abstract
> > void org.a
> > pache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
> > INFO  - RequestListenerInterface   - registered listener interface
> > [RequestListenerInterface name=IRedirectListener, method=public abstract
> > void org.a
> > pache.wicket.IRedirectListener.onRedirect()]
> > INFO  - RequestListenerInterface   - registered listener interface
> > [RequestListenerInterface name=IRedirectListener, method=public abstract
> > void org.a
> > pache.wicket.IRedirectListener.onRedirect()]
> > INFO  - RequestListenerInterface   - registered listener interface
> > [RequestListenerInterface name=IResourceListener, method=public abstract
> > void org.a
> > pache.wicket.IResourceListener.onResourceRequested()]
> > INFO  - RequestListenerInterface   - registered listener interface
> > [RequestListenerInterface name=IResourceListener, method=public abstract
> > void org.a
> > pache.wicket.IResourceListener.onResourceRequested()]
> > INFO  - WebApplication             - [wicket.myproject15] Started Wicket
> > version 1.5-SNAPSHOT in DEVELOPMENT mode
> > ********************************************************************
> > *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
> > ***                               ^^^^^^^^^^^                    ***
> > *** Do NOT deploy to your live server(s) without changing this.  ***
> > *** See Application#getConfigurationType() for more information. ***
> > ********************************************************************
> > 2011-08-07 23:21:09.236:INFO::Started
> SelectChannelConnector@0.0.0.0:8080
> > [INFO] Started Jetty Server
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: quickstart with 1.5 build

Posted by Martin Grigorov <mg...@apache.org>.
try just http://localhost:8080

On Mon, Aug 8, 2011 at 9:38 AM, Kaz C <ka...@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\myproject15>mvn 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   - registered listener interface
> [RequestListenerInterface name=IOnChangeListener, method=public abstract
> void org.a
> pache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
> INFO  - RequestListenerInterface   - registered listener interface
> [RequestListenerInterface name=IOnChangeListener, method=public abstract
> void org.a
> pache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
> INFO  - RequestListenerInterface   - registered listener interface
> [RequestListenerInterface name=IRedirectListener, method=public abstract
> void org.a
> pache.wicket.IRedirectListener.onRedirect()]
> INFO  - RequestListenerInterface   - registered listener interface
> [RequestListenerInterface name=IRedirectListener, method=public abstract
> void org.a
> pache.wicket.IRedirectListener.onRedirect()]
> INFO  - RequestListenerInterface   - registered listener interface
> [RequestListenerInterface name=IResourceListener, method=public abstract
> void org.a
> pache.wicket.IResourceListener.onResourceRequested()]
> INFO  - RequestListenerInterface   - registered listener interface
> [RequestListenerInterface name=IResourceListener, method=public abstract
> void org.a
> pache.wicket.IResourceListener.onResourceRequested()]
> INFO  - WebApplication             - [wicket.myproject15] Started Wicket
> version 1.5-SNAPSHOT in DEVELOPMENT mode
> ********************************************************************
> *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
> ***                               ^^^^^^^^^^^                    ***
> *** Do NOT deploy to your live server(s) without changing this.  ***
> *** See Application#getConfigurationType() for more information. ***
> ********************************************************************
> 2011-08-07 23:21:09.236:INFO::Started SelectChannelConnector@0.0.0.0:8080
> [INFO] Started Jetty Server
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org