We covered this before on this list. It's not etbeans' fault,
you're using an old version of the code.
Either get a newer version, or edit the file with the error and let java
know you want sim.display.Console, not java.io.Console.
- replace Console with sim.display.Console in that file OR
- change the imports somehow (add import sim.display.Console)
Gabriel
> Date: Thu, 27 Mar 2008 12:04:05 -0400
> From: Sandhya Arunachalam <[log in to unmask]>
> Subject: Error while integrating with netbeans
>
> Hi all
>
> I am getting the following error when I run a Mason project on
> Netbeans .Has anyone had this problem before ? Please help ?
>
> Thanks
>
> Sandhya
>
> init:
> deps-jar:
> Created dir: D:\Thesis\myModel\build\classes
> Compiling 5 source files to D:\Thesis\myModel\build\classes
> D:\Thesis\mason\mason\sim\portrayal\inspector\PropertyInspector.java:228:
> reference to Console is ambiguous, both class java.io.Console in java.io
> and class sim.display.Console in sim.display match
> properties, index, (Console)
> (state.controller), state);
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> BUILD FAILED (total time: 2 seconds)
>
> ------------------------------
>
> End of MASON-INTEREST-L Digest - 25 Mar 2008 to 27 Mar 2008 (#2008-13)
> **********************************************************************
>
|