You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by Erik Engbrecht <er...@gmail.com> on 2009/04/06 18:45:21 UTC

ESME build error

[WARNING]
/Users/eengbrec/esme_dev/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:53:
error: type mismatch;
[WARNING]  found   : java.lang.String
[WARNING]  required: ?{val isEmpty: ?}
[WARNING] Note that implicit conversions are not applicable because they are
ambiguous:
[WARNING]  both method strToS in object JE of type
(String)net.liftweb.http.js.JE.Str
[WARNING]  and method stringWrapper in object Predef of type
(String)scala.runtime.RichString
[WARNING]  are possible conversion functions from java.lang.String to ?{val
isEmpty: ?}
[WARNING]   val ApiPath = Props.get("twitter.prefix",
"twitter").split("/").toList.filter(! _.isEmpty)
[WARNING]
                ^
[WARNING] one error found
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE


Are other people getting this error?

Re: ESME build error

Posted by Erik Engbrecht <er...@gmail.com>.
Thanks.  Switching to JDK 6 worked as well.

On Mon, Apr 6, 2009 at 1:31 PM, Vassil Dichev <vd...@gmail.com> wrote:

> It was easy enough to fix the code too. You can update and build again now
>
> On Mon, Apr 6, 2009 at 8:14 PM, Erik Engbrecht <er...@gmail.com>
> wrote:
> > Yup...JDK 5...but that's easy enough to fix...
> >
> > On Mon, Apr 6, 2009 at 1:11 PM, Vassil Dichev <vd...@gmail.com> wrote:
> >
> >> Seeing that you're on a Mac, what JDK are you using? It's probably not
> 6...
> >>
> >> I'll check and see that it works on JDK 5 as wellu
> >>
> >>
> >> On Mon, Apr 6, 2009 at 7:45 PM, Erik Engbrecht <
> erik.engbrecht@gmail.com>
> >> wrote:
> >> > [WARNING]
> >> >
> >>
> /Users/eengbrec/esme_dev/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:53:
> >> > error: type mismatch;
> >> > [WARNING]  found   : java.lang.String
> >> > [WARNING]  required: ?{val isEmpty: ?}
> >> > [WARNING] Note that implicit conversions are not applicable because
> they
> >> are
> >> > ambiguous:
> >> > [WARNING]  both method strToS in object JE of type
> >> > (String)net.liftweb.http.js.JE.Str
> >> > [WARNING]  and method stringWrapper in object Predef of type
> >> > (String)scala.runtime.RichString
> >> > [WARNING]  are possible conversion functions from java.lang.String to
> >> ?{val
> >> > isEmpty: ?}
> >> > [WARNING]   val ApiPath = Props.get("twitter.prefix",
> >> > "twitter").split("/").toList.filter(! _.isEmpty)
> >> > [WARNING]
> >> >                ^
> >> > [WARNING] one error found
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [ERROR] BUILD FAILURE
> >> >
> >> >
> >> > Are other people getting this error?
> >> >
> >>
> >
> >
> >
> > --
> > http://erikengbrecht.blogspot.com/
> >
>



-- 
http://erikengbrecht.blogspot.com/

Re: ESME build error

Posted by Vassil Dichev <vd...@gmail.com>.
It was easy enough to fix the code too. You can update and build again now

On Mon, Apr 6, 2009 at 8:14 PM, Erik Engbrecht <er...@gmail.com> wrote:
> Yup...JDK 5...but that's easy enough to fix...
>
> On Mon, Apr 6, 2009 at 1:11 PM, Vassil Dichev <vd...@gmail.com> wrote:
>
>> Seeing that you're on a Mac, what JDK are you using? It's probably not 6...
>>
>> I'll check and see that it works on JDK 5 as wellu
>>
>>
>> On Mon, Apr 6, 2009 at 7:45 PM, Erik Engbrecht <er...@gmail.com>
>> wrote:
>> > [WARNING]
>> >
>> /Users/eengbrec/esme_dev/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:53:
>> > error: type mismatch;
>> > [WARNING]  found   : java.lang.String
>> > [WARNING]  required: ?{val isEmpty: ?}
>> > [WARNING] Note that implicit conversions are not applicable because they
>> are
>> > ambiguous:
>> > [WARNING]  both method strToS in object JE of type
>> > (String)net.liftweb.http.js.JE.Str
>> > [WARNING]  and method stringWrapper in object Predef of type
>> > (String)scala.runtime.RichString
>> > [WARNING]  are possible conversion functions from java.lang.String to
>> ?{val
>> > isEmpty: ?}
>> > [WARNING]   val ApiPath = Props.get("twitter.prefix",
>> > "twitter").split("/").toList.filter(! _.isEmpty)
>> > [WARNING]
>> >                ^
>> > [WARNING] one error found
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> >
>> >
>> > Are other people getting this error?
>> >
>>
>
>
>
> --
> http://erikengbrecht.blogspot.com/
>

Re: ESME build error

Posted by Erik Engbrecht <er...@gmail.com>.
Yup...JDK 5...but that's easy enough to fix...

On Mon, Apr 6, 2009 at 1:11 PM, Vassil Dichev <vd...@gmail.com> wrote:

> Seeing that you're on a Mac, what JDK are you using? It's probably not 6...
>
> I'll check and see that it works on JDK 5 as wellu
>
>
> On Mon, Apr 6, 2009 at 7:45 PM, Erik Engbrecht <er...@gmail.com>
> wrote:
> > [WARNING]
> >
> /Users/eengbrec/esme_dev/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:53:
> > error: type mismatch;
> > [WARNING]  found   : java.lang.String
> > [WARNING]  required: ?{val isEmpty: ?}
> > [WARNING] Note that implicit conversions are not applicable because they
> are
> > ambiguous:
> > [WARNING]  both method strToS in object JE of type
> > (String)net.liftweb.http.js.JE.Str
> > [WARNING]  and method stringWrapper in object Predef of type
> > (String)scala.runtime.RichString
> > [WARNING]  are possible conversion functions from java.lang.String to
> ?{val
> > isEmpty: ?}
> > [WARNING]   val ApiPath = Props.get("twitter.prefix",
> > "twitter").split("/").toList.filter(! _.isEmpty)
> > [WARNING]
> >                ^
> > [WARNING] one error found
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> >
> >
> > Are other people getting this error?
> >
>



-- 
http://erikengbrecht.blogspot.com/

Re: ESME build error

Posted by Vassil Dichev <vd...@gmail.com>.
Seeing that you're on a Mac, what JDK are you using? It's probably not 6...

I'll check and see that it works on JDK 5 as well


On Mon, Apr 6, 2009 at 7:45 PM, Erik Engbrecht <er...@gmail.com> wrote:
> [WARNING]
> /Users/eengbrec/esme_dev/esme/trunk/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala:53:
> error: type mismatch;
> [WARNING]  found   : java.lang.String
> [WARNING]  required: ?{val isEmpty: ?}
> [WARNING] Note that implicit conversions are not applicable because they are
> ambiguous:
> [WARNING]  both method strToS in object JE of type
> (String)net.liftweb.http.js.JE.Str
> [WARNING]  and method stringWrapper in object Predef of type
> (String)scala.runtime.RichString
> [WARNING]  are possible conversion functions from java.lang.String to ?{val
> isEmpty: ?}
> [WARNING]   val ApiPath = Props.get("twitter.prefix",
> "twitter").split("/").toList.filter(! _.isEmpty)
> [WARNING]
>                ^
> [WARNING] one error found
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
>
>
> Are other people getting this error?
>