Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
Apache Tomcat 6.0.14 on Windows XP
Description
I've created a Tomcat webapp with the normal directory layout and two classes, say A and B, under the <webapp>/WEB-INF/groovy/<package> directory:
(A.groovy)
package <package>
class A {
int id
/* ... */
}
(B.groovy)
package <package>
class B extends A {
/* ... */
}
On the Groovlet i wrote something like this:
def obj = new B( id: 1 )
and obtained this error :
groovy.lang.MissingPropertyException: No such property: id for class: <package>.B