grails-form-builder-plugin runing error

108 views
Skip to first unread message

Prabhu ST

unread,
Jun 5, 2013, 4:46:57 AM6/5/13
to jquery-form-b...@googlegroups.com
Hi,


Is there anybody run grails-form-builder-plugin. If there is anybody run successfully let me know. I got this error

C:\Documents and Settings\prabhu ST\.grails\2.0.4\projects\FormTest\plugins\form-builder-0.1\grails-app\controllers\org\grails\formbuilder\FormController.groovy: 18: unable to resolve class freemarker.template.Template
 @ line 18, column 1.
   import freemarker.template.Template

anybody know to solve this problem means let me know

Thanks,
Prabhu ST
 

Chee Kin Lim

unread,
Jun 5, 2013, 12:03:32 PM6/5/13
to jquery-form-b...@googlegroups.com
Hi Prabhu ST,

Did you installed the freemarker plugin to the project at http://grails.org/plugin/freemarker?

Best regards,
Chee Kin



 

--
You received this message because you are subscribed to the Google Groups "JQuery Form Builder Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-form-builder...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Prabhu ST

unread,
Jun 6, 2013, 2:13:38 AM6/6/13
to jquery-form-b...@googlegroups.com
Hi limcheekin,

        Thanks for your replay. I
installed the freemarker plugin to the project. And run my project I got the following error

C:\Documents and Settings\Prabhu\.grails\2.2.2\projects\FormBuilderPluginDemo\pl
ugins\freemarker-0.4\src\java\grails\plugin\freemarker\GrailsTemplateLoader.java
:37: package freemarker.cache does not exist
import freemarker.cache.TemplateLoader;
                       ^
C:\Documents and Settings\Prabhu\.grails\2.2.2\projects\FormBuilderPluginDemo\pl
ugins\freemarker-0.4\src\java\grails\plugin\freemarker\GrailsTemplateLoader.java
:45: cannot find symbol
symbol: class TemplateLoader
public class GrailsTemplateLoader implements TemplateLoader, ResourceLoaderAware
, GrailsApplicationAware, PluginManagerAware {
                                             ^
2 errors


1 error

Thanks & Regards,
Prabhu ST
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-form-builder-plugin+unsub...@googlegroups.com.

Prabhu ST

unread,
Jun 7, 2013, 1:02:36 AM6/7/13
to jquery-form-b...@googlegroups.com
Hi,


          Is there anybody know this error, I do the following steps for grails form builder plugin project

Step 1: Create new project with the commend

                    grails creat-app demo

Step 2: Install the plugin into your project with the following command: 

                     grails install
-plugin form-builder

Step 3:
installed the freemarker plugin to the project at http://grails.org/plugin/freemarker?

                      grails install-plugin freemarker


Step 4: Finally run the project with the commend of

                        grails run-app


I got the following error

C:\Documents and Settings\Prabhu\.grails\2.2.2\projects\FormBuilderPluginDemo\plugins\freemarker-0.4\src\java\grails\plugin\freemarker\GrailsTemplateLoader.java:37: package freemarker.cache does not exist
import freemarker.cache.TemplateLoader;
                       ^
C:\Documents and Settings\Prabhu\.grails\2.2.2\projects\FormBuilderPluginDemo\plugins\freemarker-0.4\src\java\grails\plugin\freemarker\GrailsTemplateLoader.java:45: cannot find symbol

symbol: class TemplateLoader
public class GrailsTemplateLoader implements TemplateLoader, ResourceLoaderAware
, GrailsApplicationAware, PluginManagerAware {
                                             ^
2 errors


1 error


Please help me

Thanks & Regards

Prabhu ST

Chee Kin Lim

unread,
Jun 7, 2013, 2:09:33 AM6/7/13
to jquery-form-b...@googlegroups.com
The unresolved class is from FreeMarker, please see http://freemarker.sourceforge.net/docs/api/freemarker/cache/TemplateLoader.html

Seems like your project unable to resolve the dependencies properly, please make sure you are not behind proxy and try to update the following config in BuildConfig.groovy:
legacyResolve true

Hope this help.

Best regards,
Chee Kin


--
You received this message because you are subscribed to the Google Groups "JQuery Form Builder Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-form-builder...@googlegroups.com.

Prabhu ST

unread,
Jun 11, 2013, 1:27:25 AM6/11/13
to jquery-form-b...@googlegroups.com
Hi,

    The problem is not fixed anybody please help me

Thanks,

Prabhu ST
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-form-builder-plugin+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages