Hi, I tried out 2.0 m3 this weekend (Hibernate / Struts 2), and I had similar problems with the BaseObject from within Eclipse after following the steps inn the Eclipse (for some reason the BaseObject.class did not appear in my target directory, although it's definitely present in my local repository). I'm going to give it another go tonight after reading this thread - I think my main problem is my lack of Maven knowledge!
I'm fairly certain I have the repository location set correctly, but I'll double check that. Another issue that I came across which may be of help to some people in future was the following error when trying to build with Maven (if this has already been mentioned on the list I'm sorry I missed it!!): Missing: 1) com.sun:tools:jar:1.5.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun -DartifactId=tools \ -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file which turns out to be because the struts pom has a dependency on tools.jar, which is referenced as: <systemPath>${java.home}/../lib/*tools*.*jar*</systemPath> where ${java.home} is the JRE home. Unfortunately when I've installed JDK 5.0 and JDK 6.0 it's placed the JRE directory at the same level as the JDK directory, not as a child of this directory, hence the error!! Cheers, Pete On 2/19/07, Matt Raible <[EMAIL PROTECTED]> wrote:
I'm curious - did you follow the Eclipse guide in the documentation? http://appfuse.org/display/APF/Eclipse If not, is there something we can to do make this more prominent? Thanks, Matt On 2/19/07, talldean <[EMAIL PROTECTED]> wrote: > > Fixing my own problem, if anyone stumbles across the same issue: > > In Eclipse, Project->Properties->Java Build Path. Click Add Variable, and > make sure M2_REPO is correctly pointed at your Maven2 repository, which is > (by default) ~/.m2/repository > > -D > > > Being more clear, the Clean Project I know under project shouldn't (and > doesn't, in my case) fix the problem. > > I think the issue is that the tutorial is still for AppFuse 1.x, whereas I'm > trying to install and play with 2.0. > > org.appfuse.model is who knows where, and the tutorial also assumes I have > javax.persistence. Help? > > > -- > View this message in context: http://www.nabble.com/-appfuse-user--BaseObject-Error-tf195014s2369.html#a9037816 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]