See my comments, hope this helps
Alan D. Cabrera wrote: > > A few quick questions. > > - What version of Java are you running? > > I have set JAVA_HOME=C:\Programs\Java\jdk1.5.0_15 > > But when I run java -version on command line I see following > java version "1.6.0_07" > Java(TM) SE Runtime Environment (build 1.6.0_07-b06) > Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) > --------------------------------------------------------------------------- > > - What version of Maven are you running? > M2_HOME=C:\Programs\Apache\Maven-2.2.1 > > When I run mvn -version I see following > > Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) > Java version: 1.5.0_15 > Java home: C:\Programs\Java\jdk1.5.0_15\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > > (note the java home mvn using) > > --------------------------------------------------------------------------------- > > - What kind of OS are you on? > XP Pro - SP3 > ----------------------------------------- > > Thanks, > > > Regards, > Alan > > On Nov 16, 2009, at 2:35 PM, erewards wrote: > >> >> Thanks guys. It worked. Not sure what helped, but I did set >> JAVA_HOME and >> M2_HOME and also replaced mail-1.4.jar with the one Ludger suggested. >> >> Thanks again. >> >> >> Alan D. Cabrera wrote: >>> >>> You shouldn't have to do this to get things to compile. >>> >>> >>> Regards, >>> Alan >>> >>> On Nov 15, 2009, at 9:42 AM, Ludger wrote: >>> >>>> >>>> Download the mail-1.4.jar from >>>> http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/mail/mail/1.4/mail-1.4.jar >>>> and replace the existing jar in your maven javax/mail/mail folder >>>> >>>> Then Shiro building works fine. >>>> >>>> cu >>>> -- >>>> View this message in context: >>>> http://n2.nabble.com/Error-while-building-Shiro-from-source-tp3989762p4008340.html >>>> Sent from the Shiro User mailing list archive at Nabble.com. >>> >>> >>> >> >> -- >> View this message in context: >> http://n2.nabble.com/Error-while-building-Shiro-from-source-tp3989762p4015148.html >> Sent from the Shiro User mailing list archive at Nabble.com. > > > -- View this message in context: http://n2.nabble.com/Error-while-building-Shiro-from-source-tp3989762p4015237.html Sent from the Shiro User mailing list archive at Nabble.com.
