Are you running with a Java JDK or a JRE? Note that maven must be run with a
JDK. Also be careful of running maven inside tools like Exclipse - they
frequently point to the JRE by default.

Mike

On 11/9/07, Gentledepp <[EMAIL PROTECTED]> wrote:
>
>
> That doesn't work either. Just produces the same errors.....
>
> Ealden Escañan wrote:
> >
> > On Nov 9, 2007 7:39 PM, Gentledepp <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi!
> >>
> >> At first I have to say: I am an absolute java newbie, but no total
> >> newbie.
> >> As far I primarily used .Net technologies, so please excuse any "dumb"
> >> questions, that I might ask! :wistle:
> >>
> >> I want do use AppFuse for a modular project, because I'd like to have a
> >> webinterface and a backend, that only consists of a mysql database.
> >>
> >> Therefore I chose the "Modular JSF" project skeleton of AppFuse.
> >> Calling :working:
> >>
> >> "mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> >> -DarchetypeArtifactId=appfuse-modular-jsf
> >> -DremoteRepositories=http://static.appfuse.org/releases
> >> -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app
> >> -DartifactId=myproject"
> >>
> >> worked just fine, but when I wanted to execute the command "mvn
> >> jetty:run-war" :working: from my project's web directory I get the
> error:
> >
> > You'll need to `mvn install` first before you could run `mvn
> > jetty:run-war`.
> >
> >>
> >> Additionally when I want to run the command "mvn install
> eclipse:eclipse"
> >> :working:I get the following error:
> >>
> >
> > Hmm that should work.  Try running `mvn install` first then `mvn
> > eclipse:eclipse`
> >
> > --
> > Ealden Esto E. Escañan
> > http://ealden.net
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/cannot-create-mvn-Eclipse-project...-tf4777142s2369.html#a13668694
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to