This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168031

Summary: Groovy classes not usable from within Java classes
Product: groovy Reporter: fkugel <fkugel>
Component: GrailsAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: grails bug report for this issue (groovy class cannot be used in java class)

Description fkugel 2009-07-02 13:11:29 UTC
Groovy source classes cannot be used in Java source classes. See Example attached.
Comment 1 fkugel 2009-07-02 13:12:32 UTC
Created attachment 84304 [details]
grails bug report for this issue (groovy class cannot be used in java class)
Comment 2 fkugel 2009-07-02 13:24:54 UTC
Steps to reproduce:
- Create new grails project "NoGroovyClassesInJavaClasses"
- Unzip NoGroovyClassesInJavaClasses-bug-report-02072009.zip and copy contents to the created project
- Open Project in NetBeans 6.7
- Watch "Tasks": "cannot find symbol symbol: class GroovyClassExample location: class example.JavaClass"
Comment 3 Petr Hejl 2009-07-02 13:27:23 UTC

*** This issue has been marked as a duplicate of 161176 ***