Hi, 

I get an error: 

A matching constructor could not be reliably determined. If possible, use 
'javacast()' with the provided arguments to resolve this ambiguity

when I try to create a java object for ical4j[1]

<cfset x = createObject("java","net.fortuna.ical4j.model.Period").init(
  
createObject("java","net.fortuna.ical4j.model.DateTime").init("20121101T070000Z"),
  
createObject("java","net.fortuna.ical4j.model.DateTime").init("20130101T070000Z")
  ) />
<cfdump var="#x#" />

the thing is that this same code works on Railo.
Doing it by cfscript also works:

<cfscript language="java" jarlist="ical4j-1.0.4.jar" >
  import net.fortuna.ical4j.model.*;
  Period period = new Period( new DateTime("20121101T070000Z"),  new 
DateTime("20130101T070000Z") );
  cf.set( "x", period );
</cfscript>
<cfdump var="#x#" />


any hints?

thanks!
Héctor Feliciano
Coolbleiben S.Coop.
Madrid Tenerife Valladolid

[1] http://wiki.modularity.net.au/ical4j/index.php?title=Main_Page#Download

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to