Thanks Chris -- using java 1.7 I was able to get a successful build.

> Welcome to Rave and sorry you ran into a problem on your first attempt.
>
> I believe this may be caused by a bug in your version of the JDK [1].
> You'll notice the affected version is 6u20. This particular issue shows it
> was fixed in Java 7 but if you look at the related backport links lower in
> the bug report it looks like it was back ported to 6u22 and above. Is
> there
> any chance you can try to upgrade your JDK version and try again?
>
> I can confirm it compiles on 6u37.
>
> Also, if you are just looking to run the system you can download the demo
> binaries which are all setup to run from here [2].
>
> Thanks,
> Chris
>
> [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954
> [2] http://rave.apache.org/downloads.html
>
> On Tue, Feb 19, 2013 at 4:53 PM, <[email protected]> wrote:
>
>> First time user/setup.  I am using maven (3.0.3) and java (1.6.0_20) but
>> getting a build failure on the rave-mongodb component.
>>
>> [ERROR]
>>
>> /my/path/rave/trunk/rave-components/rave-mongodb/src/main/java/org/apache/rave/portal/repository/impl/MongoModelTemplate.java:[79,39]
>> type parameters of <T>T cannot be determined; no unique maximal instance
>> exists for type variable T with upper bounds E,java.lang.Object
>>
>> I just started following the Getting Started directions here:
>> http://rave.apache.org/source.html
>>
>> 1. svn co
>> 2. mvn install
>>
>> Any insights?  I don't really intend to use mongodb for persistence
>> anyway
>> but didn't want to remove the dependency from the pom if this is
>> something
>> silly I'm tripping myself over.
>>
>> It looks like this code was changed a bit in the last few months, not
>> sure
>> if these are relevant yet...
>>
>>
>> http://stackoverflow.com/questions/11747020/error-type-parameters-of-tt-cannot-be-determined-during-maven-install
>>
>>
>> http://stackoverflow.com/questions/5666027/why-does-the-compiler-state-no-unique-maximal-instance-exists
>>
>> Thanks.
>>
>>
>


Reply via email to