Hi,

I did exactly the same (see my shell output below) but afterwards
accessing http://localhost:8080/myproject results in the mentioned HTTP
ERROR 404 with "Not Found".

If anyone needs more information about versions of software, I am happy
to provide that :-)

Thanks
Dominik

[ds@illuminati][21:44:51]
(...wicklung/workspace)$ mvn archetype:generate
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.5.5 -DgroupId=com.mycompany -DartifactId=myproject
-DarchetypeRepository=https://repository.apache.org/
-DinteractiveMode=false
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @
standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @
standalone-pom <<<
[INFO] 
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @
standalone-pom ---
[INFO] Generating project in Batch mode
[INFO] Archetype defined by properties
[INFO]
----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype:
wicket-archetype-quickstart:1.5.5
[INFO]
----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: myproject
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.mycompany
[INFO] Parameter: packageInPathFormat, Value: com/mycompany
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.mycompany
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: myproject
[INFO] project created from Archetype in
dir: /home/ds/Entwicklung/workspace/myproject
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.866s
[INFO] Finished at: Tue Apr 03 21:45:12 CEST 2012
[INFO] Final Memory: 8M/81M
[INFO]
------------------------------------------------------------------------

[ds@illuminati][21:45:12]
(...wicklung/workspace)$ mvn -version
/usr/lib/jvm/java
Apache Maven 3.0.3 (rNON-CANONICAL_2011-10-11_11-57_mockbuild;
2011-10-11 13:57:02+0200)
Maven home: /usr/share/maven
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "3.3.0-8.fc16.i686", arch: "i386", family:
"unix"
[ds@illuminati][21:45:30]
(...wicklung/workspace)$ cd myproject
[ds@illuminati][21:45:34]
(...orkspace/myproject)$ mvn jetty:run
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building quickstart 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] >>> jetty-maven-plugin:7.5.0.v20110901:run (default-cli) @
myproject >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
myproject ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
myproject ---
[WARNING] File encoding has not been set, using platform encoding UTF-8,
i.e. build is platform dependent!
[INFO] Compiling 2 source files
to /home/ds/Entwicklung/workspace/myproject/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ myproject ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
@ myproject ---
[WARNING] File encoding has not been set, using platform encoding UTF-8,
i.e. build is platform dependent!
[INFO] Compiling 2 source files
to /home/ds/Entwicklung/workspace/myproject/target/test-classes
[INFO] 
[INFO] <<< jetty-maven-plugin:7.5.0.v20110901:run (default-cli) @
myproject <<<
[INFO] 
[INFO] --- jetty-maven-plugin:7.5.0.v20110901:run (default-cli) @
myproject ---
[INFO] Configuring Jetty for project: quickstart
[INFO]
webAppSourceDirectory /home/ds/Entwicklung/workspace/myproject/src/main/webapp 
does not exist. Defaulting to 
/home/ds/Entwicklung/workspace/myproject/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = /home/ds/Entwicklung/workspace/myproject/target/classes
[INFO] Context path = /
[INFO] Tmp directory
= /home/ds/Entwicklung/workspace/myproject/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file =
file:/home/ds/Entwicklung/workspace/myproject/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory
= /home/ds/Entwicklung/workspace/myproject/src/main/webapp
[INFO] Starting jetty 7.5.0.v20110901 ...
2012-04-03 21:45:43.910:INFO:oejs.Server:jetty-7.5.0.v20110901
2012-04-03 21:45:44.304:INFO:oejpw.PlusConfiguration:No Transaction
manager found - if your webapp requires one, please configure one.
2012-04-03 21:45:44.387:INFO:oejsh.ContextHandler:started
o.m.j.p.JettyWebAppContext{/,file:/home/ds/Entwicklung/workspace/myproject/src/main/webapp/},file:/home/ds/Entwicklung/workspace/myproject/src/main/webapp/
INFO  - WebXmlFile                 - web.xml: url mapping found for
filter with name wicket.myproject: [/*]
INFO  - Application                - [wicket.myproject] init: Wicket
core library initializer
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IBehaviorListener, method=public abstract
void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IBehaviorListener, method=public abstract
void org.apache.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.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=ILinkListener, method=public abstract
void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IOnChangeListener, method=public abstract
void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IOnChangeListener, method=public abstract
void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IRedirectListener, method=public abstract
void org.apache.wicket.IRedirectListener.onRedirect()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IRedirectListener, method=public abstract
void org.apache.wicket.IRedirectListener.onRedirect()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IResourceListener, method=public abstract
void org.apache.wicket.IResourceListener.onResourceRequested()]
INFO  - RequestListenerInterface   - registered listener interface
[RequestListenerInterface name=IResourceListener, method=public abstract
void org.apache.wicket.IResourceListener.onResourceRequested()]
INFO  - WebApplication             - [wicket.myproject] Started Wicket
version 1.5.5 in DEVELOPMENT mode
[...DEVELOPMENT-mode warning...]
2012-04-03 21:45:44.841:INFO:oejs.AbstractConnector:Started
[email protected]:8080 STARTING
2012-04-03 21:45:44.961:INFO:oejs.AbstractConnector:Started
[email protected]:8443 STARTING
[INFO] Started Jetty Server

Am Dienstag, den 03.04.2012, 21:30 +0200 schrieb Martin Grigorov:
> Hi,
> 
> Here is what I did:
> 1) go to http://wicket.apache.org/start/quickstart.html
> 2) copy
> mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart
> -DarchetypeVersion=1.5.5 -DgroupId=com.mycompany
> -DartifactId=myproject
> -DarchetypeRepository=https://repository.apache.org/
> -DinteractiveMode=false
> 3) paste/run it in some folder
> 4) cd myproject
> 5) mvn jetty:run ( I use Maven 3.0.3)
> 
> All is fine here.
> 
> On Tue, Apr 3, 2012 at 9:24 PM, Dominik Sandjaja <[email protected]> wrote:
> > Hi,
> >
> > I also just experienced this same problem. A "plain" quickstart project
> > with 1.4.19 shows the expected page when accessing
> > localhost:8080/myproject. Trying the same with the 1.5.5 quickstart
> > results in the "Not found" message, mentioned in the first message of
> > this thread. Same error with the snapshots of 1.5 and 6.0.
> >
> > I started the containers with mvn jetty:run in all cases.
> >
> > Is there a way to get the quickstart working again with 1.5 and up?
> >
> > Thanks
> > Dominik
> >
> > Am Freitag, den 09.12.2011, 12:10 +0100 schrieb Martin Grigorov:
> >> Hi Gabor,
> >>
> >> It looks like there is a difference in the configured context path.
> >> I'm not sure how you start it - with mvn jetty:run or with Start.java.
> >> I'd recommend you to use Start.java. It gives you much faster
> >> development cycle.
> >>
> >> On Fri, Dec 9, 2011 at 2:15 AM, Kincses, Gabor <[email protected]> wrote:
> >> > No luck with 1.5-SNAPSHOT, either, but 1.4.9. works fine.  This is the 
> >> > error I'm getting:
> >> >
> >> > http://localhost:8080/myproject, with 1.5.3 the basic Wicket it works! 
> >> > page shows up when hitting http://localhost:8080.  This doesn't happen 
> >> > with 1.4.9.
> >> >
> >> > HTTP ERROR 404
> >> > Problem accessing /myproject. Reason:
> >> >
> >> >    Not Found
> >> >
> >> > ________________________________
> >> > Powered by Jetty://
> >> >
> >> > I have tried various combinations of mvn versions (2.2.1 vs. 3.0.3) and 
> >> > OSes (Linux 2.6, MacOS Snow Leopard).
> >> >
> >> > Please help,
> >> > Gabor
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [email protected]
> >> > For additional commands, e-mail: [email protected]
> >> >
> >>
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to