I want to explain my problems with more details. My aim is to make a maven2
based jsf project and I followed these below steps;

1. Apache tomcat 6 was installed and environmental variables are set to
tomcat (it is working-checked)
2. Eclipse Galileo was installed from its site (eclipse-jee-galileo) that
contains wtp 3.1
3. Maven 2.2.1 was installed and necessary settings were done. (it is
working because version control from command prompt was checked)
4. I made a jsf application by using this from command prompt : mvn
archetype:create -DgroupId=alcatell -DartifactId=jsfWeb -DpackageName=web
-DarchetypeGroupId=com.rfc.maven.archetypes
-DarchetypeArtifactId=jsf-maven-archetype
-DremoteRepositories=http://maven.rodcoffin.com/repo 
5. Then it is successfully created and I run  mvn clean,mvn compile, mvn
install, mvn package and mvn eclipse:eclipse . All are successfull. I took
my project war file (jsfWeb.war) and copied it under tomcat webapps folder.
Then I run tomcat, it is also fine, my simple login web application works
when I call it from web browser like http://localhost:8080/jsfWeb/
BUT;
I imported the project (import-->existing maven project-->select jsfWeb) but
it is not working, when I run project on tomcat I always get this error;
HTTP Status 404 - /jsfWeb. I install m2 plugin on eclipse and I did local
repository setting, from the project properties all necessary things were
also done. I update my eclipse but it says "all items are installed"

Does the purpose of maven provide a simplicity for creating java project,
local repo or independent IDE? What can I do? Where is my problem result
from? Eclipse, maven plugin, tomcat or what is my mistake?

If you are interesting in my problem, I will be grateful
Thanks from now







MavenZede wrote:
> 
> I have been trying to run a maven2 jsf project on Eclipse Galileo, but I
> did not unfortunately. I tried a lot of ways, read thousands of web pages.
> My first problem is that I cannot import my maven2 web project into
> Eclipse. I know it should be happen when I run this mvn eclipse:eclipse,
> however it doesnt. The eclipse project file (.project) already came after
> I run above mentioned command, but again unfortunately this .project file
> could not opened with eclipse. Some specification of system are ;
> ---Apache tomcat 6.0
> ---myFaces 1.2.7 for jsf
> ---Eclipse galileo (3.5 with WTP 3.1)
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven2-jsf-web-project-on-Eclipse-tp25491907p25505389.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to