Easier way is to run mvn with -X switch (debug) and pipe the output to a file:
mvn -X install > build.log Open the file in a text editor and you should see where commons-lang 2.1 is comming from. In all likelihood there is a dependency you have added that is pulling it in and overriding the one from AppFuse. If that sounds like too much work, just stick in a dependency at the top level (core module in multi module project) for lang 2.3, and that will override anything coming though from lower down. Mike. On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
have no clue need. will copy my upgraded project step by step over my fresh m5 to see where things go wrong....pffff and my arms hurt already.. tibi wrote: > > how can it be that i get commons_lang2.1 instead of 2.3? > > > > i removed the signin test to check for the other tests. > this is the next test that fails: > > SearchUser: > [INFO] [talledLocalContainer] [topnet] ERROR [http-8081-Processor20] > [jsp].invoke(723) | Servlet.service() for servlet jsp threw exception > [INFO] [talledLocalContainer] java.lang.NullPointerException > [INFO] [talledLocalContainer] at > org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag( ComponentTagSupport.java:50) > > [INFO] [talledLocalContainer] at > org.apache.jsp.error_jsp._jspx_meth_s_005fif_005f0(error_jsp.java:228) > [INFO] [talledLocalContainer] at > org.apache.jsp.error_jsp._jspService(error_jsp.java:117) > [INFO] [talledLocalContainer] at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) > [INFO] [talledLocalContainer] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > [INFO] [talledLocalContainer] at > org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:328) > > [INFO] [talledLocalContainer] at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) > [INFO] [talledLocalContainer] at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) > [I > > > > tibi wrote: >> only find old poms with m4 in my META-INF >> >> tibi >> >> >> Matt Raible wrote: >>> Possibly - I'd search through all your *.xml files and look for m4 and >>> change it to m5. >>> >>> Matt >>> >>> On 6/22/07, tibi <[EMAIL PROTECTED]> wrote: >>>> or could it be some kind of config files somewhere?? >>>> >>>> tibi >>>> >>>> Matt Raible wrote: >>>> > There shouldn't be any difference - does it work for a fresh >>>> install? >>>> > If so, there's probably still something somewhere that's >>>> referring to >>>> > the old JARs. At least that's the only thing I can think of. >>>> > >>>> > Matt >>>> > >>>> > On 6/22/07, tibi <[EMAIL PROTECTED]> wrote: >>>> >> but it is strange. because it should all be in the jars. my own >>>> code >>>> >> will not have anything to do with it. >>>> >> what can be the diff between a fresh install and an update? >>>> >> >>>> >> tibi >>>> >> >>>> >> Matt Raible wrote: >>>> >> > It may be a bug, but I was successful in upgrading the >>>> appfuse-demo >>>> >> > projects from m4 to m5. >>>> >> > >>>> >> > I'd blame the following change, but I haven't had any issues >>>> with it >>>> >> > myself: >>>> >> > >>>> >> > >>>> >> >>>> http://appfuse.org/display/APF/Release+Notes+2.0+M5#ReleaseNotes2.0M5-manageranddaousage >>>> >>>> >> >>>> >> > >>>> >> > >>>> >> > Matt >>>> >> > >>>> >> > On 6/22/07, tibi <[EMAIL PROTECTED]> wrote: >>>> >> >> don't understand it. >>>> >> >> when i comapere the lib dir between a fresh m5 and my upgrade i >>>> >> notice >>>> >> >> this dif: >>>> >> >> commons_lang2.3 ipv 2.1 >>>> >> >> >>>> >> >> ehcach and jsr173_api are different >>>> >> >> >>>> >> >> tibi >>>> >> >> >>>> >> >> tibi wrote: >>>> >> >> > i have a appfuse-service-2.0-m5.jar file. that looks good. >>>> >> >> > >>>> >> >> > when i run mvn jetty:run signup gives (as expected) the same >>>> >> error... >>>> >> >> > >>>> >> >> > >>>> >> >> > >>>> >> >> >>>> >> >>>> ------------------------------------------------------------------------------------------ >>>> >>>> >> >>>> >> >> >>>> >> >> > >>>> >> >> > side track: >>>> >> >> > <groupId>org.appfuse</groupId> >>>> >> >> > <artifactId>maven-warpath-plugin</artifactId> >>>> >> >> > <version>1.0-m4</version> >>>> >> >> > <extensions>true</extensions> >>>> >> >> > also needs to be upgraded to 1.0-m5 >>>> >> >> > >>>> >> >> > i will add that to the docs as well >>>> >> >> > >>>> >> >> > tibi >>>> >> >> > >>>> >> >> > Matt Raible wrote: >>>> >> >> >> appfuse-service.jar - look in your target/app/WEB-INF/lib >>>> after >>>> >> >> >> running "mvn package" to see what version of the JAR is in >>>> there. >>>> >> >> >> >>>> >> >> >> Matt >>>> >> >> >> >>>> >> >> >> On 6/22/07, tibi <[EMAIL PROTECTED]> wrote: >>>> >> >> >>> no source code into my project and i did a mvn clean.... >>>> >> >> >>> >>>> >> >> >>> which jar could be the problem?? >>>> >> >> >>> >>>> >> >> >>> tibi >>>> >> >> >>> >>>> >> >> >>> Matt Raible wrote: >>>> >> >> >>> > Did you important AppFuse source into your code? If >>>> not, it >>>> >> looks >>>> >> >> >>> > like you're still depending on an M4 dependency somewhere. >>>> >> >> Maybe you >>>> >> >> >>> > need to run "mvn clean" first? >>>> >> >> >>> > >>>> >> >> >>> > Matt >>>> >> >> >>> > >>>> >> >> >>> > On 6/22/07, tibi <[EMAIL PROTECTED]> wrote: >>>> >> >> >>> >> ok my applications seems to work fine. but when >>>> running mvn >>>> >> >> >>> >> integration-test i still have this error: >>>> >> >> >>> >> > and signup will not work: >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > Signup: >>>> >> >> >>> >> > [INFO] [talledLocalContainer] [topnet] ERROR >>>> >> >> >>> [http-8081-Processor22] >>>> >> >> >>> >> > [default].invoke(250) | Servlet.service() for servlet >>>> >> default >>>> >> >> >>> threw >>>> >> >> >>> >> > exception >>>> >> >> >>> >> > [INFO] [talledLocalContainer] >>>> java.lang.NoSuchMethodError: >>>> >> >> >>> >> > >>>> >> >> >>> >>>> >> org.appfuse.service.UserManager.saveUser (Lorg/appfuse/model/User;)V >>>> >> >> >>> >> > [INFO] [talledLocalContainer] at >>>> >> >> >>> >> > >>>> >> >> >>>> org.appfuse.webapp.action.SignupAction.save(SignupAction.java:77) >>>> >> >> >>> >> > [INFO] [talledLocalContainer] at >>>> >> >> >>> >> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>>> Method) >>>> >> >> >>> >> > [INFO] [talledLocalContainer] at >>>> >> >> >>> >> > >>>> >> >> >>> >> >>>> >> >> >>> >>>> >> >> >>>> >> >>>> sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) >>>> >>>> >> >>>> >> >> >>>> >> >> >>> >>>> >> >> >>> >> >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > any ideas? >>>> >> >> >>> >> > >>>> >> >> >>> >> > thanks, >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > tibi >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> > tibi wrote: >>>> >> >> >>> >> >> ok what happend was that with running >>>> >> >> >>> >> >> mvn install eclipse:eclipse >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> some tests failed and eclipse did not got updated. >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> after running: >>>> >> >> >>> >> >> mvn -Dmaven.test.skip=true clean install >>>> eclipse:eclipse >>>> >> >> >>> >> >> all was fine... >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> my error ;) >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> tibi >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> tibi wrote: >>>> >> >> >>> >> >>> next thing i found was that my eclipse was still >>>> pointing >>>> >> >> to the >>>> >> >> >>> >> >>> appfuse-struts-2.0-m4.warpath.jar and the >>>> >> >> >>> >> >>> appfuse-web-common-2.0-m4.warpath.jar >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>> tibi >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>> tibi wrote: >>>> >> >> >>> >> >>>> hi, >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>>> isn't it a prerequisite to have maven 2.0.6 for m5? >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>>> thanks, >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>>> tibi >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>>> >> >> >>> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> >>> >> >>>> To unsubscribe, e-mail: >>>> >> >> [EMAIL PROTECTED] >>>> >> >> >>> >> >>>> For additional commands, e-mail: >>>> >> >> >>> [EMAIL PROTECTED] >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>>> >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>>> >> >> >>> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> >>> >> >>> To unsubscribe, e-mail: >>>> >> >> [EMAIL PROTECTED] >>>> >> >> >>> >> >>> For additional commands, e-mail: >>>> >> >> [EMAIL PROTECTED] >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >>> >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> >>>> >> >> >>> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> >>> >> >> To unsubscribe, e-mail: >>>> >> [EMAIL PROTECTED] >>>> >> >> >>> >> >> For additional commands, e-mail: >>>> >> >> [EMAIL PROTECTED] >>>> >> >> >>> >> >> >>>> >> >> >>> >> >> >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> >>> >> > To unsubscribe, e-mail: >>>> >> [EMAIL PROTECTED] >>>> >> >> >>> >> > For additional commands, e-mail: >>>> >> >> [EMAIL PROTECTED] >>>> >> >> >>> >> > >>>> >> >> >>> >> > >>>> >> >> >>> >> >>>> >> >> >>> >> >>>> >> >> >>> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> >>> >> To unsubscribe, e-mail: >>>> [EMAIL PROTECTED] >>>> >> >> >>> >> For additional commands, e-mail: >>>> >> [EMAIL PROTECTED] >>>> >> >> >>> >> >>>> >> >> >>> >> >>>> >> >> >>> > >>>> >> >> >>> > >>>> >> >> >>> >>>> >> >> >>> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> >>> To unsubscribe, e-mail: >>>> [EMAIL PROTECTED] >>>> >> >> >>> For additional commands, e-mail: >>>> [EMAIL PROTECTED] >>>> >> >> >>> >>>> >> >> >>> >>>> >> >> >> >>>> >> >> >> >>>> >> >> > >>>> >> >> > >>>> >> >>>> --------------------------------------------------------------------- >>>> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> >> >> > For additional commands, e-mail: >>>> [EMAIL PROTECTED] >>>> >> >> > >>>> >> >> > >>>> >> >> >>>> >> >> >>>> --------------------------------------------------------------------- >>>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >> >> >>>> >> >> >>>> >> > >>>> >> > >>>> >> >>>> >> >>>> --------------------------------------------------------------------- >>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> >> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >> >>>> >> >>>> > >>>> > >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
