Re: [drools-usage] java.time.localdate cannot be cast to java.util.date

92 views
Skip to first unread message
Message has been deleted

Toni Rikkola

unread,
Mar 16, 2018, 2:38:09 AM3/16/18
to drools...@googlegroups.com
Hi,

Only thing I see is that "Prenotacao.plus( ..., ... );" might return a Date. Can't spot what else might be wrong.

Toni

On Thu, Mar 15, 2018 at 5:00 PM, Alexandre Ramos <alexand...@consultant.com> wrote:
Hi,

   I have this problem when compile the project.
   The error message is displayed.

Other informations:
root@sevenprodbds:~# java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

           Kie IDE Version 7.6.0.Final

Alexandre

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/b8f1b8ea-2768-4f83-9c82-4c4081c9bc15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexandre Ramos

unread,
Mar 16, 2018, 6:08:01 AM3/16/18
to drools...@googlegroups.com
Hi Toni,

     Thanks for your response.

      I need sum days ( int values) into localdate and localdate.plus perhaps do this, or not?

      Following this email a screenshot for the plus sintaxe.

Alexandre

Em sex, 16 de mar de 2018 03:38, Toni Rikkola <trik...@redhat.com> escreveu:
Hi,

Only thing I see is that "Prenotacao.plus( ..., ... );" might return a Date. Can't spot what else might be wrong.

Toni
On Thu, Mar 15, 2018 at 5:00 PM, Alexandre Ramos <alexand...@consultant.com> wrote:
Hi,

   I have this problem when compile the project.
   The error message is displayed.

Other informations:
root@sevenprodbds:~# java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

           Kie IDE Version 7.6.0.Final

Alexandre

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/b8f1b8ea-2768-4f83-9c82-4c4081c9bc15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Drools Usage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drools-usage/oZQFYOgriy4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drools-usage...@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.
Screenshot_20180316-065703.png

Toni Rikkola

unread,
Mar 16, 2018, 7:24:57 AM3/16/18
to drools...@googlegroups.com
Looks like that should work.

Toni

On Fri, Mar 16, 2018 at 12:07 PM, Alexandre Ramos <aramos...@gmail.com> wrote:
Hi Toni,

     Thanks for your response.

      I need sum days ( int values) into localdate and localdate.plus perhaps do this, or not?

      Following this email a screenshot for the plus sintaxe.

Alexandre

Em sex, 16 de mar de 2018 03:38, Toni Rikkola <trik...@redhat.com> escreveu:
Hi,

Only thing I see is that "Prenotacao.plus( ..., ... );" might return a Date. Can't spot what else might be wrong.

Toni
On Thu, Mar 15, 2018 at 5:00 PM, Alexandre Ramos <alexandre.ramos@consultant.com> wrote:
Hi,

   I have this problem when compile the project.
   The error message is displayed.

Other informations:
root@sevenprodbds:~# java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

           Kie IDE Version 7.6.0.Final

Alexandre

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/b8f1b8ea-2768-4f83-9c82-4c4081c9bc15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Drools Usage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drools-usage/oZQFYOgriy4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drools-usage+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages