Note that there are some explanatory texts on larger screens.

plurals
  1. POGriffon Compilation error: cannot override firePropertyChange?
    text
    copied!<p>Upgrading my 0.3.1 Griffon app into 0.9.4 found the following compilation error:</p> <pre><code> [griffonc] Threading injection feature disabled. [griffonc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [griffonc] ..\sgmentia-client\griffon\app\models\com\nortia\sgmentia\client\maestros\MaestrosModel.groovy: -1: firePropertyChange(java.lang.String,java.lang.Object,java.lang.Object) in com.nortia.sgmentia.client.maestros.MaestrosModel cannot override firePropertyChange in com.nortia.sgmentia.client.maestros.MaestrosModelSupport; attempting to assign weaker access privileges; was public [griffonc] @ line -1, column -1. [griffonc] 1 error Compilation error: Compilation Failed </code></pre> <p>There are <strong>no mention</strong> of <strong>firePropertyChange</strong> in my code so I dont know how to go on.</p> <p>The referred classes look like follows:</p> <pre><code>abstract class MaestrosModelSupport ... class MaestrosModel extends MaestrosModelSupport </code></pre> <p>Ideas??</p> <hr> <h2>Update</h2> <p>I've followed the naming convention (every Model must end up with XXXModel) and now the project compiles.</p> <p>However after some refactoring there is something new:</p> <pre><code> [copy] Copying 1 file to C:\maestro\desarrollo\projects\interactionManager\sgmentia-client\staging ERROR [main]: [1] ApplicationDefaultExceptionHandler Se ha producido un error inesperado en la aplicaci¾n: Interfaces must have java.lang.Object as superclass in class file com/nortia/sgmentia/client/DocumentController java.lang.ClassFormatError: Interfaces must have java.lang.Object as superclass in class file com/nortia/sgmentia/client/DocumentController at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) </code></pre> <p>So what now?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload