What version of AppFuse are you using? On Aug 17, 2010, at 7:55 AM, Jeremy Flowers <jeremy_g_flow...@yahoo.co.uk> wrote:
> Finally I managed to track down the thread from earlier again... > I just want to make sure things haven't moved on in terms of the repository > locations. > This was the related thread from back in 2006. Is it still the same issue 4 > years later? > http://markmail.org/message/hzfm4crqtmoyer4k#query:%22package%20org.appfuse.webapp.action%20does%20not%20exist%22+page:1+mid:u74zjvc5dxl2hbdy+state:results > Are the repository names still relevant? > Or have things changed? > Cheers. > > --- On Tue, 17/8/10, Jeremy Flowers <jeremy_g_flow...@yahoo.co.uk> wrote: > > From: Jeremy Flowers <jeremy_g_flow...@yahoo.co.uk> > Subject: Re: [appfuse-user] Having issues with 'package > org.appfuse.webapp.action does not exist' > To: users@appfuse.dev.java.net > Date: Tuesday, 17 August, 2010, 14:34 > > Hi Matt > I was just refreshing my memory of Struts 2 using David's AppFuse primer. > I had noticed the maven incantations have changed a bit since he wrote the > book and I set the project up using the incantations here. > > I had assumed that since I have the import: > import org.appfuse.webapp.action.BaseAction; > in VehicleAction this was some sort of AppFuse base class that got downloaded > in a JAR. > > Just in case it has some bearings on things, I also found that the location > of the struts.xml wasn't where David had indicated either. > David had mentioned it would be in: src/main/webapp/WEB-INF/classes > I could only find a copy in src/main/resources > > Other than doing a mvn war:inplace I don't think I've done much else odd. > > There was an issue where I had to upgrade Maven between running the archetype > to create the project and doing the initial mvn command to get something up > and running in Maven. > > I've also done a mvn clean, but nothing changed as a result. > > The only other thing that was quirky was that I had problems the day I first > ran mvn in the project folder. But somehow the next day this seemed to > magically resolve itself. > > This all makes me think there was a problem accessing repositories when the > first set of downloads ran and it was fixed the following day. > > Can you check the attached pom.xml to see if there is a missing repository or > something of this nature for org.appfuse.webapp.action.BaseAction, as I think > this is at the root of the issues. > > I did see a thread somewhere that pointed me down this path, but when I tried > looking for it again later I couldn't track it down! Too many permutations > from Googling either of: > "package org.appfuse.webapp.action does not exist" > "The import org.appfuse.webapp cannot be resolved" > > Regards, Jeremy > > > --- On Tue, 17/8/10, Matt Raible <m...@raibledesigns.com> wrote: > > From: Matt Raible <m...@raibledesigns.com> > Subject: Re: [appfuse-user] Having issues with 'package > org.appfuse.webapp.action does not exist' > To: users@appfuse.dev.java.net > Date: Tuesday, 17 August, 2010, 13:39 > > Do you have a BaseAction in your project? If so, is it in > com.mycompany.crud.action? If so, simply change the imports. > > On Aug 17, 2010, at 4:10 AM, Jeremy Flowers wrote: > >> Hi. >> I browsed some of the old Appfuse mailing lists from back in 2006 and it >> looks like my issue is down to the pom.xml not importing repositories >> correctly. >> I've attached the one Appfuse created when I started a new project. >> Can someone let me know what the current repositories are I need to add. >> Maybe this is something that needs addressing as it's a pain to work out >> from all the different mailing lists and the timeframe it's bee occurring >> for.I may have done a full-source Maven command at some point too. >> >> This was the kind of stuff I was getting: >> >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Compilation failure >> >> /Users/JGF/AppfuseApp/myproject/src/main/java/com/mycompany/crud/action/VehicleAction.java:[2,32] >> package org.appfuse.webapp.action does not exist >> >> /Users/JGF/AppfuseApp/myproject/src/main/java/com/mycompany/crud/action/VehicleAction.java:[8,35] >> cannot find symbol >> symbol: class BaseAction >> public class VehicleAction extends BaseAction { >> >> /Users/JGF/AppfuseApp/myproject/src/main/java/com/mycompany/crud/action/VehicleAction.java:[37,11] >> cannot find symbol >> symbol : variable SUCCESS >> location: class com.mycompany.crud.action.VehicleAction >> >> /Users/JGF/AppfuseApp/myproject/src/main/java/com/mycompany/crud/action/VehicleAction.java:[41,4] >> cannot find symbol >> symbol : method saveMessage(java.lang.String) >> location: class com.mycompany.crud.action.VehicleAction >> >> >> <pom.xml>--------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net > > >