But I need servlet support to create war Therefore I used erxapplication-selvlet-archetype
WebRep Overall rating WebRep Overall rating 2013/12/20 <[email protected]> > Hi Ron, > > This is wrong: wonder.core:ERExtensions:jar:wo54:6.1 > > I think it is caused by you having a value > for <wonder.classifier>wo54</wonder.classifier> > > Remove the value (edit the pom.xml) . > > Also, you are using an erxapplication-servlet-archetype, correct? > > Then you are trying to use that in eclipse? and get an error? > > I have 2 projects: > 1st - in WO-style structure > 2nd - the copy of 1st but in maven structure using archetype > > 1st prj starts using eclipse-wolips perfectly > 2nd got an error > Error: <com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException > message '[<com.webobjects.appserver.WOComponent name: Login subcomponents: > null > valueForKey()]: lookup of unknown key: 'username'. The WOComponent > com.webobjects.appserver.WOComponent does not have an instance variable of > the name username or _username, nor a method of the name username, > _username, getUsername, or _getUsername' object > '<com.webobjects.appserver.WOComponent name: Login subcomponents: null >' > key 'username'> > Reason: [<com.webobjects.appserver.WOComponent name: Login > subcomponents: null > valueForKey()]: lookup of unknown key: 'username'. > The WOComponent com.webobjects.appserver.WOComponent does not have an > instance variable of the name username or _username, nor a method of the > name username, _username, getUsername, or _getUsername > > > > I think what you want is a erxapplication-archetype (wonder application > (snapshot)) project. That is similar to the Wonder application you can > create with eclipse. > > You should be able to build and run your project from the command line. > Then import your maven project into eclipse for debugging. > > > On Dec 20, 2013, at 5:16 AM, Ron X wrote: > > > And during the mvn clean install i've got: > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3.538s > [INFO] Finished at: Fri Dec 20 13:07:17 FET 2013 > [INFO] Final Memory: 3M/81M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project myprj: Could not resolve > dependencies for project myprj:myprj:war:0.0.1-SNAPSHOT: The following > artifacts could not be resolved: wonder.core:ERExtensions:jar:wo54:6.1, > wonder.core:WOOgnl:jar:wo54:6.1: Failure to find > wonder.core:ERExtensions:jar:wo54:6.1 in > http://maven.wocommunity.org/content/groups/public was cached in the > local repository, resolution will not be reattempted until the update > interval of wocommunity has elapsed or updates are forced -> [Help 1] > > > > -- > [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
