English 中文(简体)
Error loading the grails gwt module xml
原标题:

I ve installed the plugin from this article by Peter http://www.cacoethes.co.uk/blog/groovyandgrails/the-command-pattern-w....

While compile time its not able to find the module file which is present in the plugin. Since there are no jar files for the module, can you tell me what I m missing here..

The stack trace is as follows:

 [java]    Loading inherited module  grails.plugins.gwt.Grails 
 [java]       [ERROR] Unable to find  grails/plugins/gwt/Grails.gwt.xml  on your classpath; could be a typo, or maybe you forgot to incl

ude a classpath entry for source? [java] [ERROR] Line 12: Unexpected exception while processing element inherits [java] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)

最佳回答

Hey Satya, I ve had similar problems with classpath errors working with other grails plugins.

I ve found sometimes it s necessary to manually copy artifacts from (user-home directory)/.grails/(grails-version)/plugins/(plugin-name) into the lib/ directory inside my grails project.

In this case, you might try copying src/gwt (from the grails-gwt-0.5-SNAPSHOT.zip) into lib/gwt? or maybe try to copy it to match grails/plugins/gwt/Grails.gwt.xml?

问题回答

暂无回答




相关问题
grails + gwt request handling via controllers

I am new to gwt. I am trying to integrate gwt+grails.Can anybody provide me a good example for handling the request using grails controllers and not a custom servlet.I will be really thankful if ...

Error loading the grails gwt module xml

I ve installed the plugin from this article by Peter http://www.cacoethes.co.uk/blog/groovyandgrails/the-command-pattern-w.... While compile time its not able to find the module file which is present ...

Sorting Objects Based on Custom Domain Class Methods

I have a domain class, in which I ve defined some methods which give the object a score based on different algorithms (eg. popularity). I now want to retrieve a list of these objects sorted by one of ...

Grails Packaging and Naming Conventions

Packaging Controllers, Services,etc. i.e. - com.company.controllers - com.company.services Is this a good practice or should be avoided by all means?? Another worth mentioning problem I encountered ...

Hibernate/GORM: collection was not processed by flush()

I have an integration test in my Grails application that fails when I try to save an entity of type Member invitingMember.save(flush: true) This raises the following exception org.hibernate....

热门标签