Sounds like an Eclipse issue (I'm an IntelliJ user and all is well
there).  Can any Eclipse users shed any light on this?

Cheers,

Les

On Fri, Oct 23, 2009 at 12:40 PM, Moataz Elmasry
<[email protected]> wrote:
> Hello List
>
> I'm having a similar problem building shiro source code.
> My settings are as follows:
>
> Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
> Java version: 1.6.0_16
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.16/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.28-16-generic" arch: "i386" Family: "unix"
>
> Building the project with maven is successful. But then I import the project
> into eclipse only to get the problem, that
> javax.servlet.https.HttpServletrequest is missing. I added the missing jar
> manually (which is a bad thing to do, I know :) ) only to get a list of
> problems of missing jars, including junit, htmlunit, jetty and others. I
> then tried to add the missing jars manually to some point that I started
> getting inconsistency problems, probably because I'm adding jars with wrong
> version
> Maybe someone had faced something similar?
>
> Best regards
> Moataz
>
>
> Tamás Cservenák wrote:
>>
>> I just built  successfully a cleanly checkouted shiro trunk, all worked
>> well.
>>
>> HtmlUnit is defined in samples/web POM as test dependency... The problem
>> you see is probably due to having damaged/incomplete HTMLunit jar (a
>> previous build interrupted with Ctrl+C for example or some other
>> tranfer/proxy issue) in your maven local repository (~/.m2/repository). Try
>> to delete the HTMLUnit jar from your local repo and run "mvn clean install"
>> again.
>>
>> (rm -R ~/.m2/repository/net/sourceforge/htmlunit/htmlunit/2.6 in case you
>> did not modify your local repo path)
>>
>>
>> Please use latest Maven 2.2.1 (2.2.2 soon out!) and make sure you are
>> up-to-date with working copy ;)
>>
>> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
>> Java version: 1.6.0_15
>> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
>> Default locale: en_US, platform encoding: MacRoman
>> OS name: "mac os x" version: "10.6.1" arch: "x86_64" Family: "mac"
>>
>> ~t~
>>
>>
>> On Mon, Sep 14, 2009 at 4:13 AM, Alan D. Cabrera <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>    Can you run the following commands:
>>
>>    java -version
>>    mvn -v
>>    svn info
>>
>>    Thanks.
>>
>>    Regards,
>>    Alan
>>
>>
>>    On Sep 13, 2009, at 6:15 PM, knowself wrote:
>>
>>
>>        Hi Les,
>>
>>        Thanks for the quick reply.
>>
>>        Yes, I'm still seeing the same issue ... with an "mvn clean"
>>        and then a "mvn
>>        install"...
>>
>>        It's the same.
>>
>>        Anyone seen this?
>>
>>        Joet
>>
>>
>>
>>        Les Hazlewood-2 wrote:
>>
>>
>>            Hi Joe,
>>
>>            This should work just fine.
>>
>>            I just did a full clean and mvn install on the latest
>>            trunk version
>>            and didn't have any problems building.  The test
>>            referenced in the
>>            other email has already been commented out temporarily.
>>
>>            Do you still see the problems?
>>
>>            Regards,
>>
>>            Les
>>
>>            On Wed, Sep 9, 2009 at 2:29 AM, knowself
>>            <[email protected] <mailto:[email protected]>> wrote:
>>
>>
>>                Ok. I'm at it again ... trying to build Shiro from source.
>>
>>                I really just want to specialize the database tables
>>                used by Shiro and
>>                using
>>                a complete "person" object instead of just the
>>                "username" for the
>>                principal.
>>
>>                Can someone point me to a good resource for doing that
>>                using the Grails
>>                plugin ... or point me to some resources for getting
>>                this thing to
>>                compile.
>>
>>                ===============
>>                I tried the following ...
>>                ===============
>>
>>                mkdir shiro
>>                cd shiro
>>                svn co
>>                http://svn.apache.org/repos/asf/incubator/shiro/trunk/
>>
>>                ... then
>>
>>                mvn install
>>
>>
>>                And then ....
>>
>>                /Users/virtuola/Documents/Virtuola
>>
>>  LLC/ScoreEZ/shiro/samples/web/src/test/java/org/apache/shiro/test/ContainerIntegrationTest.java:[49,27]
>>                com.gargoylesoftware.htmlunit.html.HtmlInput cannot be
>>                dereferenced
>>
>>                /Users/virtuola/Documents/Virtuola
>>
>>  LLC/ScoreEZ/shiro/samples/web/src/test/java/org/apache/shiro/test/ContainerIntegrationTest.java:[50,27]
>>                com.gargoylesoftware.htmlunit.html.HtmlInput cannot be
>>                dereferenced
>>
>>                /Users/virtuola/Documents/Virtuola
>>
>>  LLC/ScoreEZ/shiro/samples/web/src/test/java/org/apache/shiro/test/ContainerIntegrationTest.java:[51,34]
>>                com.gargoylesoftware.htmlunit.html.HtmlInput cannot be
>>                dereferenced
>>
>>
>>                I have googled a little on this and I understand there
>>                is a patch ... to
>>                comment out these tests ...
>>
>>                I get it ... don't try this at home, kids!!
>>
>>                Thanks for your help, in advance.
>>
>>                --
>>                View this message in context:
>>
>>  http://n2.nabble.com/Building-Shiro-JSecurity-from-Source-tp3608663p3608663.html
>>                Sent from the Shiro User mailing list archive at
>>                Nabble.com.
>>
>>
>>
>>
>>        --        View this message in context:
>>
>>  http://n2.nabble.com/Building-Shiro-JSecurity-from-Source-tp3608663p3639137.html
>>        Sent from the Shiro User mailing list archive at Nabble.com.
>>
>>
>>
>
>

Reply via email to