Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Problem with Maven2

  1. #11
    Join Date
    Dec 2005
    Posts
    930

    Default

    Back up your project using the Roo 'backup' command from within the shell. Attach the zip file here.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  2. #12
    Join Date
    Mar 2011
    Posts
    2

    Default

    I also ran into the same issue by running the sample application. Looks like the google appengine jar files are not found through maven. I attached my project.

  3. #13
    Join Date
    Mar 2011
    Posts
    2

    Default

    Quote Originally Posted by joevgear View Post
    I also ran into the same issue by running the sample application. Looks like the google appengine jar files are not found through maven. I attached my project.
    looks like the zip file is too large for the forum upload. In any event i am using the following:

    SpringSource Tool Suite

    Version: 2.6.0.M2

    roo - 1.1.2.RELEASE [rev fbc33bb]
    gwt - gwt 2.2
    google app engine 1.4.2

    Windows x64 bit.

  4. #14

    Default

    Command `backup` was found but is not curently available

    I tryed to remove, unzip and put the new folder on the same locatio, but the error is still there.
    I think I am missing some step, any help please?

  5. #15
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Lightbulb

    This thread is a little old now, but just in case anyone is still looking for ideas:

    [Thread-8] error at import com.google.appengine.api.users.User;
    [Thread-8] ^^^^^^^^^^^^^^^^^^^
    [Thread-8] C:\Users\mujer_esponja\Desktop\automatlabs\src\mai n\java\com\foo\serv
    er\gae\UserServiceLocator.java:3:0::0 The import com.google.appengine cannot be
    resolved
    These errors (which I too encountered with Roo 1.1.2) sound like ROO-2252. The workaround (if you're not actually using GAE) is to delete all packages ending in ".gae" from your project.

    Could not find artifact com.sun:tools:jar:1.4.2 at specified path C:\Program Files\Java\jre6/../lib/tools.jar -> [Help 1]
    This might indicate that your JAVA_HOME environment variable isn't pointing to a valid JDK installation. Please make sure you've followed the installation instructions.

    cannot execute: mojo. It requires a project with an existing pom.xml, but the build is not using one

    Could be this the clue? How does roo generaate pom.xml file?
    This error usually means one of two things:
    * most likely you were not in the project's root directory when you ran mvn.bat, or
    * you were in that directory, but the pom.xml file doesn't exist; Roo should have created this file when you issued the "project" shell command, but this can fail if for example your anti-virus software prevents it (e.g. I have to disable Trend Micro if I want Roo to manage my POMs properly).

    Hope this helps.
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  6. #16
    Join Date
    Oct 2011
    Posts
    4

    Default

    Could not find artifact com.sun:tools:jar:1.4.2 at specified path C:\Program Files\Java\jre6/../lib/tools.jar -> [Help 1]
    I'm suffering from this too. Have set JAVA_HOME (for system and for my user's profile) to the JDK path. STS.ini also says
    -vm
    C:\Path\to\JDK\bin\javaw.exe

    Despite that, the error still comes back complaining about the *jre6*. I've tried cleaning everything off and using the *.exe "installer" as well as running from the extracted *.zip.

    I don't see a resolution here, so am curious if there are any other pointers or if the OP got it resolved.

    I am running on Win 7/64-bit implementation where these problems are occuring. It is a spring roo/mvc project.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •