开发者

Grails - IntelliJIdea9 Strange problem with packages

I'm having some trouble on a checked out project here at work.

I have a class called GridBuilder, which is located in a package called com.ent.proj.utils.grid

package com.ent.proj.utils.grid

import grails.orm.HibernateCriteriaBuilder
import org.hibernate.criterion.Criterion
import org.hibernate.Criteria


class GridBuilder {
}

The word grid in the package declaration is marked in red, and reads Cannot solve symbol grid

This is the directory structure:

grailsapp--
           utils---
                  com---
                      ent---
                           proj---
                                 utils---
                                       grid---
                                          GridBuilder.groovy

I'm using IntelliJ Idea 9 as an IDE. I see this file in the project view, but not in the Grails view.

Any thoughts?

Thanks in advance

update

Ran $grails run-app from co开发者_运维问答mmand line, and the app. started OK. Maybe its an IntelliJIdea issue ?


did you declare grails-app/utils as a source folder in 'Project structure|Modules'?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜