Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Upgrading grails/groovy++, org/mbte/grails/ConverterMethods$TraitImpl - Incompatible object argument for function call

200 views
Skip to first unread message

Anders Viklund

unread,
Aug 14, 2011, 6:02:50 PM8/14/11
to Groovy++
Hi,

I am facing a problem upgrading grails/groovy++.

Thanks for any help how to solve this issue

http://grails.1312388.n4.nabble.com/Upgrading-grails-Incompatible-object-argument-for-function-call-td3742593.html

Alex Tkachman

unread,
Aug 15, 2011, 12:56:17 AM8/15/11
to groovyp...@googlegroups.com

Grails 1.3.6 with groovy 1.9 seems like bad combination by itself. Maybe you also need to remove g++ grails plugin and add g++ as dependency as described in wiko

Best regards
Alex

vikl...@gmail.com

unread,
Aug 16, 2011, 11:24:29 AM8/16/11
to groovyp...@googlegroups.com
I tried grails 1.3.7, its bundled with groovy-all-1.7.8.jar and I got the same problem.

How do I add g++ as depencency? I could'nt find this information anywhere.

Thanks!

Alex Tkachman

unread,
Aug 16, 2011, 11:42:21 AM8/16/11
to groovyp...@googlegroups.com

Please see in our wiki in grails integration section

Best regards
Alex

Anders Viklund

unread,
Aug 19, 2011, 10:53:28 AM8/19/11
to Groovy++
thanks, following guidelines in wiki gives this problem.

Dont know if its related to using grails-1.3.6 instead of grails 1.3.4


C:\workspace\grails_apps\AndersTool>grails compile
Welcome to Grails 1.3.6 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\Program Files (x86)\grails-1.3.6

Base Directory: C:\workspace\grails_apps\AndersTool
Resolving dependencies...
Dependencies resolved in 1455ms.
Running script C:\Program Files (x86)\grails-1.3.6\scripts
\Compile.groovy
Environment set to development
Plugin [groovy-plus-plus-0.4.217] not installed. ...
Resolving new plugins. Please wait... ...
:: problems summary ::
:::: WARNINGS
module not found: org.grails.plugins#groovy-plus-plus;
0.4.217

==== grailsPlugins: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\workspace\grails_apps\AndersTool/lib/groovy-plus-
plus-0.4.217.zip

C:\Users\anders\.grails\1.3.6\projects\AndersTool\plugins
\dwr-0.1/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.6\projects\AndersTool\plugins
\hibernate-1.3.7/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.6\projects\AndersTool\plugins
\jsecurity-0.4.1/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.6\projects\AndersTool\plugins
\tomcat-1.3.7/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.6\projects\AndersTool\plugins\ui-
performance-1.2.2/lib/groovy-plus-plus-0.4.217.zip

==== grailsHome: tried

C:\Program Files (x86)\grails-1.3.6\lib/groovy-plus-
plus-0.4.217.xml

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\Program Files (x86)\grails-1.3.6\lib/groovy-plus-
plus-0.4.217.zip

==== grailsHome: tried

C:\Program Files (x86)\grails-1.3.6\dist/groovy-plus-
plus-0.4.217.xml

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\Program Files (x86)\grails-1.3.6\dist/groovy-plus-
plus-0.4.217.zip

==== grailsHome: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\Program Files (x86)\grails-1.3.6/plugins/grails-groovy-
plus-plus-0.4.217.zip

==== grailsCentral: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

http://svn.codehaus.org/grails-plugins/grails-groovy-plus-plus/tags/RELEASE_0_4_217/grails-groovy-plus-plus-0.4.217.zip

==== grailsCore: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:


http://svn.codehaus.org/grails/trunk/grails-plugins/grails-groovy-plus-plus/tags/RELEASE_0_4_217/grails-groovy-plus-plus-0.4.217.zip

==== mavenCentral: tried

http://repo1.maven.org/maven2/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.pom

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

http://repo1.maven.org/maven2/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.zip

==== http://repository.codehaus.org: tried

http://repository.codehaus.org/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.pom

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

http://repository.codehaus.org/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.zip

==== http://groovypp.artifactoryonline.com/groovypp/libs-releases-local:
tried


http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.pom

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:


http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.zip

::::::::::::::::::::::::::::::::::::::::::::::

:: UNRESOLVED DEPENDENCIES ::

::::::::::::::::::::::::::::::::::::::::::::::

:: org.grails.plugins#groovy-plus-plus;0.4.217: not
found

::::::::::::::::::::::::::::::::::::::::::::::


Failed to resolve plugins.










On Aug 16, 5:42 pm, Alex Tkachman <alex.tkach...@gmail.com> wrote:
> Please see in our wiki in grails integration section
>
> Best regards
> Alex

Anders Viklund

unread,
Aug 19, 2011, 6:38:07 PM8/19/11
to Groovy++
Same issue with grails-1.3.7

Don't know what to do and its kind of frustrating.

On Aug 19, 4:53 pm, Anders Viklund <viklu...@gmail.com> wrote:
> thanks, following guidelines in wiki gives this problem.
>
> Dont know if its related to using grails-1.3.6 instead of grails 1.3.4
>
> C:\workspace\grails_apps\AndersTool>grails compile
> Welcome to Grails 1.3.6 -http://grails.org/
>          http://svn.codehaus.org/grails-plugins/grails-groovy-plus-plus/tags/R...
>
>         ==== grailsCore: tried
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
> http://svn.codehaus.org/grails/trunk/grails-plugins/grails-groovy-plu...
>
>         ==== mavenCentral: tried
>
>          http://repo1.maven.org/maven2/org/grails/plugins/groovy-plus-plus/0.4...
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
>          http://repo1.maven.org/maven2/org/grails/plugins/groovy-plus-plus/0.4...
>
>         ====http://repository.codehaus.org:tried
>
>          http://repository.codehaus.org/org/grails/plugins/groovy-plus-plus/0....
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
>          http://repository.codehaus.org/org/grails/plugins/groovy-plus-plus/0....
>
>         ====http://groovypp.artifactoryonline.com/groovypp/libs-releases-local:
> tried
>
> http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/or...
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
> http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/or...

Anders Viklund

unread,
Aug 19, 2011, 7:27:57 PM8/19/11
to Groovy++
So I tried the second alternative again eg. with the grails plugin,
and I am back at square one...

I am about to give up on groovy++ with grails, it used to to be no
problem but for some unknown reason its not working anymore.


Running script C:\Program Files\Grails\grails-1.3.7\scripts
\Compile.groovy
Environment set to development
[mkdir] Created dir: C:\Users\anders\.grails\1.3.7\projects
\AndersTool\plugin-classes
[groovyc] Compiling 29 source files to C:\Users\anders\.grails
\1.3.7\projects\AndersTool\plugin-classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[mkdir] Created dir: C:\workspace\grails_apps\AndersTool\target
\classes
[groovyc] Compiling 28 source files to C:\workspace\grails_apps
\AndersTool\target\classes
Compilation error: java.lang.VerifyError: (class: org/mbte/grails/
ConverterMethods$TraitImpl, method: jsonHeader signature: (Lorg/mbte/
grails/ConverterMethods;Ljava/lang/Object;)V) Incompatible object
argument for function call


On Aug 19, 4:53 pm, Anders Viklund <viklu...@gmail.com> wrote:
> thanks, following guidelines in wiki gives this problem.
>
> Dont know if its related to using grails-1.3.6 instead of grails 1.3.4
>
> C:\workspace\grails_apps\AndersTool>grails compile
> Welcome to Grails 1.3.6 -http://grails.org/
>          http://svn.codehaus.org/grails-plugins/grails-groovy-plus-plus/tags/R...
>
>         ==== grailsCore: tried
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
>          http://repo1.maven.org/maven2/org/grails/plugins/groovy-plus-plus/0.4...
>
>         ====http://repository.codehaus.org:tried
>
>          http://repository.codehaus.org/org/grails/plugins/groovy-plus-plus/0....
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
>           -- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
> groovy-plus-plus.zip:
>
> http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/or...

Alex Tkachman

unread,
Aug 20, 2011, 1:48:41 AM8/20/11
to groovyp...@googlegroups.com

I dont see any problem except not found plugin I recommend not to use. Please make sure that you use not groovy 1.9 which I saw in initial stacktrace. I am back from vacations on tuesday and will be able to help more.

Best regards
Alex

Richard Vowles

unread,
Aug 20, 2011, 2:21:39 AM8/20/11
to groovyp...@googlegroups.com
I use it with Maven, no nasty plugin goo necessary.

I don't understand however why you don't just depend on it in your BuildConfig.groovy? You can always depend on the groovy++-all and exclude the included dependencies if that is causing you an issue.

Richard


On Sat, Aug 20, 2011 at 11:27 AM, Anders Viklund <vikl...@gmail.com> wrote:
So I tried the second alternative again eg. with the grails plugin,
and I am back at square one...

I am about to give up on groovy++ with grails, it used to to be no
problem but for some unknown reason its not working anymore.


--
---
Richard Vowles,
Grails, Groovy, Java
Consistency is the last refuge of the unimaginative - Oscar Wilde
ph: +64275467747, linkedin, twitter:richardvowles
get 2Gb shared disk space in the cloud - Dropbox, its incredibly useful! - http://tinyurl.com/cmcceh
podcast: http://www.illegalargument.com

Anders Viklund

unread,
Aug 23, 2011, 5:29:08 PM8/23/11
to Groovy++
I have no clue how to solve this mess. Please help!!

Here is some more info

BuildConfig.groovy
----------------------------
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.dependency.resolution = {
inherits("global") {
}
log "warn" // log level of Ivy resolver, either 'error', 'warn',
'info', 'debug' or 'verbose'
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
mavenCentral()
mavenRepo "http://repository.codehaus.org"
mavenRepo 'http://groovypp.artifactoryonline.com/groovypp/libs-
releases-local'
}
dependencies {
compile group: 'org.mbte.groovypp', name: 'groovypp-all-
nodep', version: '0.4.231_1.7.10'

}
}



C:\Program Files (x86)\Grails\grails-1.3.7\lib>dir
..
2011-02-16 08:24 1 323 005 ant-1.7.1.jar
2011-02-16 08:24 93 518 ant-junit-1.7.1.jar
2011-02-16 08:24 12 143 ant-launcher-1.7.1.jar
2011-02-16 08:24 431 580 ant-nodeps-1.7.1.jar
2011-02-16 08:24 6 881 ant-trax-1.7.1.jar
2011-02-16 08:24 443 432 antlr-2.7.6.jar
2011-02-16 08:24 4 467 aopalliance-1.0.jar
2011-02-16 08:24 116 039 aspectjrt-1.6.8.jar
2011-02-16 08:24 1 627 874 aspectjweaver-1.6.8.jar
2011-02-16 08:24 324 238 cglib-nodep-2.1_3.jar
2011-02-16 08:24 231 320 commons-beanutils-1.8.0.jar
2011-02-16 08:24 30 117 commons-cli-1.0.jar
2011-02-16 08:24 58 160 commons-codec-1.4.jar
2011-02-16 08:24 575 389 commons-collections-3.2.1.jar
2011-02-16 08:24 148 817 commons-dbcp-1.3.jar
2011-02-16 08:24 112 341 commons-el-1.0.jar
2011-02-16 08:24 57 779 commons-fileupload-1.2.1.jar
2011-02-16 08:24 109 043 commons-io-1.4.jar
2011-02-16 08:24 261 809 commons-lang-2.4.jar
2011-02-16 08:24 100 193 commons-pool-1.5.5.jar
2011-02-16 08:24 138 956 commons-validator-1.3.1.jar
2011-02-16 08:24 37 246 concurrentlinkedhashmap-
lru-1.0_jdk5.jar
2011-02-16 08:24 1 079 323 core-renderer-R8.jar
2011-02-16 08:24 313 898 dom4j-1.6.1.jar
2011-02-16 08:24 270 679 ehcache-core-1.7.1.jar
2011-02-16 08:24 50 583 ejb3-persistence-1.0.2.GA.jar
2011-02-16 08:24 316 235 gant_groovy1.7-1.9.2.jar
2011-02-16 08:24 395 302 gpars-0.9.jar
2011-02-16 09:46 5 676 487 groovy-all-1.7.8.jar
2011-08-20 00:55 1 494 725 groovypp-all-0.4.248_1.7.10.jar
2011-02-16 08:24 279 714 hibernate-annotations-3.4.0.GA.jar
2011-02-16 08:24 66 993 hibernate-commons-
annotations-3.1.0.GA.jar
2011-02-16 08:24 2 766 130 hibernate-core-3.3.1.GA.jar
2011-02-16 08:24 7 152 hibernate-ehcache-3.3.1.GA.jar
2011-02-16 08:24 62 574 hibernate-validator-3.1.0.GA.jar
2011-02-16 08:24 706 710 hsqldb-1.8.0.10.jar
2011-02-16 08:24 1 213 150 itext-2.0.8.jar
2011-02-16 08:24 947 592 ivy-2.2.0.jar
2011-02-16 08:24 36 877 jansi-1.2.1.jar
2011-02-16 08:24 614 203 javassist-3.11.0.GA.jar
2011-02-16 08:24 17 097 jcl-over-slf4j-1.5.8.jar
2011-02-16 08:24 87 325 jline-0.9.94.jar
2011-02-16 08:24 50 493 jsp-api-2.0.jar
2011-02-16 08:24 100 636 jsp-api-2.1.jar
2011-02-16 08:24 8 277 jsr107cache-1.0.jar
2011-02-16 08:24 338 848 jsr166y-070108.jar
2011-02-16 08:24 20 682 jstl-1.1.2.jar
2011-02-16 08:24 13 236 jta-1.1.jar
2011-02-16 08:24 4 464 jul-to-slf4j-1.5.8.jar
2011-02-16 08:24 237 047 junit-4.8.1.jar
2011-02-16 08:14 33 826 junit-frames.xsl
2011-02-16 08:14 17 803 junit-noframes.xsl
2011-02-16 08:24 481 534 log4j-1.2.16.jar
2011-02-16 08:24 239 803 ognl-2.7.3.jar
2011-02-16 08:24 321 190
org.springframework.aop-3.0.5.RELEASE.jar
2011-02-16 08:24 53 082
org.springframework.asm-3.0.5.RELEASE.jar
2011-02-16 08:24 35 548
org.springframework.aspects-3.0.5.RELEASE.jar
2011-02-16 08:24 555 410
org.springframework.beans-3.0.5.RELEASE.jar
2011-02-16 08:24 157 520
org.springframework.binding-2.0.8.RELEASE.jar
2011-02-16 08:24 668 861
org.springframework.context-3.0.5.RELEASE.jar
2011-02-16 08:24 100 870
org.springframework.context.support-3.0.5.RELEASE.jar
2011-02-16 08:24 382 442
org.springframework.core-3.0.5.RELEASE.jar
2011-02-16 08:24 169 752
org.springframework.expression-3.0.5.RELEASE.jar
2011-02-16 08:24 1 810
org.springframework.instrument-3.0.5.RELEASE.jar
2011-02-16 08:24 5 728
org.springframework.instrument.tomcat-3.0.5.RELEASE.jar
2011-02-16 08:24 385 712
org.springframework.jdbc-3.0.5.RELEASE.jar
2011-02-16 08:24 185 312
org.springframework.jms-3.0.5.RELEASE.jar
2011-02-16 08:24 1 206 223
org.springframework.js-2.0.8.RELEASE.jar
2011-02-16 08:24 334 327
org.springframework.orm-3.0.5.RELEASE.jar
2011-02-16 08:24 61 379
org.springframework.oxm-3.0.5.RELEASE.jar
2011-02-16 08:24 205 278
org.springframework.test-3.0.5.RELEASE.jar
2011-02-16 08:24 231 922
org.springframework.transaction-3.0.5.RELEASE.jar
2011-02-16 08:24 395 587
org.springframework.web-3.0.5.RELEASE.jar
2011-02-16 08:24 418 977
org.springframework.web.servlet-3.0.5.RELEASE.jar
2011-02-16 08:24 519 341
org.springframework.webflow-2.0.8.RELEASE.jar
2011-02-16 08:24 65 261 oro-2.0.8.jar
2011-02-16 08:24 133 478 radeox-1.0-b2.jar
2011-02-16 08:24 278 286 serializer-2.7.1.jar
2011-02-16 08:24 132 368 servlet-api-2.5.jar
2011-02-16 08:24 181 191 sitemesh-2.4.jar
2011-02-16 08:24 23 445 slf4j-api-1.5.8.jar
2011-02-16 08:24 9 679 slf4j-log4j12-1.5.8.jar
2011-02-16 08:24 393 259 standard-1.1.2.jar
2011-02-16 08:24 1 868 714 svnkit-1.3.1.jar
2011-02-16 08:24 24 677 xpp3_min-1.1.3.4.O.jar





C:\Users\anders\.grails\1.3.7\projects\AndersTool\plugins>dir

2011-08-20 00:58 <KAT> dwr-0.1
2011-08-20 01:14 <KAT> groovy-plus-plus-0.4.217
2011-08-20 01:12 <KAT> hibernate-1.3.7
2011-08-20 00:58 <KAT> jsecurity-0.4.1
2011-08-20 01:12 <KAT> tomcat-1.3.7
2011-08-20 00:58 <KAT> ui-performance-1.2.2






C:\workspace\grails_apps\AndersTool>grails clean
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\Program Files (x86)\Grails\grails-1.3.7

Base Directory: C:\workspace\grails_apps\AndersTool
Resolving dependencies...
Dependencies resolved in 1305ms.
Running script C:\Program Files (x86)\Grails\grails-1.3.7\scripts
\Clean.groovy
Environment set to development
[delete] Deleting directory C:\Users\anders\.grails\1.3.7\projects
\AndersTool\resources


C:\workspace\grails_apps\AndersTool>grails compile
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\Program Files (x86)\Grails\grails-1.3.7

Base Directory: C:\workspace\grails_apps\AndersTool
Resolving dependencies...
Dependencies resolved in 1237ms.
Running script C:\Program Files (x86)\Grails\grails-1.3.7\scripts

Alex Tkachman

unread,
Aug 23, 2011, 5:32:51 PM8/23/11
to groovyp...@googlegroups.com
Please uninstall g++ plugin first and use latest g++ (295) second.

What version of groovy do you use?

Anders Viklund

unread,
Aug 23, 2011, 5:53:27 PM8/23/11
to Groovy++
groovy-all-1.7.8.jar, its bundled with grails-1.3.7


After uninstalling g++ plugin

grails uninstall-plugin groovy-plus-plus-0.4.217


this happens


C:\workspace\grails_apps\AndersTool>grails compile
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\Program Files (x86)\Grails\grails-1.3.7

Base Directory: C:\workspace\grails_apps\AndersTool
Resolving dependencies...
Dependencies resolved in 1251ms.
Running script C:\Program Files (x86)\Grails\grails-1.3.7\scripts
\Compile.groovy
Environment set to development
Plugin [groovy-plus-plus-0.4.217] not installed. ...
Resolving new plugins. Please wait... ...
:: problems summary ::
:::: WARNINGS
module not found: org.grails.plugins#groovy-plus-plus;
0.4.217

==== grailsPlugins: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\workspace\grails_apps\AndersTool/lib/groovy-plus-
plus-0.4.217.zip

C:\Users\anders\.grails\1.3.7\projects\AndersTool\plugins
\dwr-0.1/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.7\projects\AndersTool\plugins
\hibernate-1.3.7/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.7\projects\AndersTool\plugins
\jsecurity-0.4.1/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.7\projects\AndersTool\plugins
\tomcat-1.3.7/lib/groovy-plus-plus-0.4.217.zip

C:\Users\anders\.grails\1.3.7\projects\AndersTool\plugins\ui-
performance-1.2.2/lib/groovy-plus-plus-0.4.217.zip

==== grailsHome: tried

C:\Program Files (x86)\Grails\grails-1.3.7\lib/groovy-plus-
plus-0.4.217.xml

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\Program Files (x86)\Grails\grails-1.3.7\lib/groovy-plus-
plus-0.4.217.zip

==== grailsHome: tried

C:\Program Files (x86)\Grails\grails-1.3.7\dist/groovy-plus-
plus-0.4.217.xml

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\Program Files (x86)\Grails\grails-1.3.7\dist/groovy-plus-
plus-0.4.217.zip

==== grailsHome: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

C:\Program Files (x86)\Grails\grails-1.3.7/plugins/grails-
groovy-plus-plus-0.4.217.zip

==== grailsCentral: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

http://svn.codehaus.org/grails-plugins/grails-groovy-plus-plus/tags/RELEASE_0_4_217/grails-groovy-plus-plus-0.4.217.zip

==== grailsCore: tried

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:


-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:

-- artifact org.grails.plugins#groovy-plus-plus;0.4.217!
groovy-plus-plus.zip:


http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/org/grails/plugins/groovy-plus-plus/0.4.217/groovy-plus-plus-0.4.217.zip

Alex Tkachman

unread,
Aug 23, 2011, 5:55:30 PM8/23/11
to groovyp...@googlegroups.com
It seems you need to do some cleaning manually as some refs to plugin is still in grails app

Anders Viklund

unread,
Aug 23, 2011, 6:17:29 PM8/23/11
to Groovy++
Indeed,

I removed this entry from application.properties

plugins.groovy-plus-plus=0.4.217

and now it compiles and starts up without any errors

but I get lots of "HTTP/1.1 302 Moved Temporarily" and the page looks
all messed up when trying to use the application

I believe these errors are related with g++ still not working
properly.


C:\workspace\grails_apps\AndersTool>grails run-app -Dserver.port=5555
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\Program Files (x86)\Grails\grails-1.3.7

Base Directory: C:\workspace\grails_apps\AndersTool
Resolving dependencies...
Dependencies resolved in 1320ms.
Running script C:\Program Files (x86)\Grails\grails-1.3.7\scripts
\RunApp.groovy
Environment set to development
[groovyc] Compiling 1 source file to C:\workspace\grails_apps
\AndersTool\target\classes
[copy] Copying 1 file to C:\Users\anders\.grails\1.3.7\projects
\AndersTool
Running Grails application..
DWRPlugin: examining bootstrap BootStrap
DWRPlugin: Configuring creator ....
DWRPlugin: creator named 'new'
DWRPlugin: Calling closure provided with creator 'new/Cleaner'
DWRPlugin: Configuring creator ....
DWRPlugin: creator named 'new'
DWRPlugin: Calling closure provided with creator 'new/Clock'
DWRPlugin: Configuring creator ....
DWRPlugin: creator named 'new'
DWRPlugin: Calling closure provided with creator 'new/Subscriber'
DWRPlugin: Configuring creator ....
DWRPlugin: creator named 'new'
DWRPlugin: Calling closure provided with creator 'new/MessageUtil'
DWRPlugin: Configuring creator ....
DWRPlugin: creator named 'new'
DWRPlugin: Calling closure provided with creator 'new/HttpProxy'
DWRPlugin: Configuring creator ....
DWRPlugin: creator named 'new'
DWRPlugin: Calling closure provided with creator 'new/RvListener'
Server running. Browse to http://localhost:5555/AndersTool

Alex Tkachman

unread,
Aug 23, 2011, 6:22:02 PM8/23/11
to groovyp...@googlegroups.com
If you can be more specific what g++ does not do properly I will be happy to help

Daniel Henrique Alves Lima

unread,
Aug 23, 2011, 6:56:04 PM8/23/11
to groovyp...@googlegroups.com
Hi.

Are you able to provide a simple app reproducing the issue?
This process usually helps me isolating/finding the root cause of
the problem (http://techdm.com/grails/?p=40&lang=en).

Just my 2 cents.

Best regards,

Daniel.

Anders Viklund

unread,
Aug 23, 2011, 6:39:53 PM8/23/11
to Groovy++
I see no errors in std output but it can't find the pages..

firefox Web developer indicates that something is wrong

[00:06:39.667] The stylesheet http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex
was loaded as CSS even though its MIME type, "text/html", is not "text/
css". @ http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime
[00:06:39.669] Selector expected. Ruleset ignored due to bad
selector. @ http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex:1
[00:06:39.671] Dangling combinator. Ruleset ignored due to bad
selector. @ http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex:28
[00:06:39.675] Unexpected end of file while searching for closing } of
invalid rule set. @ http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex:96
[00:06:39.923] missing } in XML expression @
http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex:17
--
[00:11:33.451] The stylesheet http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex
was loaded as CSS even though its MIME type, "text/html", is not "text/
css". @ http://localhost:5555/AndersTool/auth/login?username=test&targetUri=%2Frealtime
[00:11:33.841] missing } in XML expression @
http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex:17
--
[00:12:19.271] The stylesheet http://localhost:5555/AndersTool/ was
loaded as CSS even though its MIME type, "text/html", is not "text/
css". @ http://localhost:5555/AndersTool/
[00:12:19.273] Selector expected. Ruleset ignored due to bad
selector. @ http://localhost:5555/AndersTool/:1
[00:12:19.274] Unexpected end of file while searching for closing } of
invalid rule set. @ http://localhost:5555/AndersTool/:47
--
[00:27:00.140] The stylesheet http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex
was loaded as CSS even though its MIME type, "text/html", is not "text/
css". @ http://localhost:5555/AndersTool/
[00:27:01.079] missing } in XML expression @
http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime%2Findex:17
--
[00:29:10.593] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 13ms]
[00:29:10.767] GET http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime
[HTTP/1.1 302 Moved Temporarily 6ms]
[00:29:11.179] GET http://localhost:5555/AndersTool/realtime [HTTP/1.1
302 Moved Temporarily 12ms]
[00:29:11.306] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 7ms]
[00:29:11.428] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
8ms]
[00:29:11.691] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 6ms]
[00:29:11.831] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 12ms]
[00:29:11.893] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
8ms]
[00:29:12.005] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
15ms]
[00:29:12.065] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 7ms]
[00:29:12.264] GET http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime
[HTTP/1.1 302 Moved Temporarily 7ms]
[00:29:12.368] GET http://localhost:5555/AndersTool/realtime [HTTP/1.1
302 Moved Temporarily 11ms]
[00:29:12.458] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 8ms]
[00:29:12.543] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
9ms]
[00:29:12.999] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 7ms]
[00:29:13.081] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
7ms]
[00:29:13.134] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 5ms]
[00:29:13.278] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
10ms]
[00:29:13.334] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 6ms]
[00:29:13.619] GET http://localhost:5555/AndersTool/auth/login?targetUri=%2Frealtime
[HTTP/1.1 302 Moved Temporarily 7ms]
[00:29:13.874] GET http://localhost:5555/AndersTool/realtime [HTTP/1.1
302 Moved Temporarily 11ms]
[00:29:13.967] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 5ms]
[00:29:14.294] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
9ms]
[00:29:14.609] GET http://localhost:5555/AndersTool/realtime/index
[HTTP/1.1 302 Moved Temporarily 5ms]
[00:29:14.699] GET http://localhost:5555/AndersTool/ [HTTP/1.1 200 OK
7ms]

Richard Vowles

unread,
Aug 24, 2011, 11:56:23 PM8/24/11
to groovyp...@googlegroups.com
Looks like you have security on the url and they are redirecting to each other. If you remove the Groovy++ dependency, I suspect you'll still have the same problem.


On Wed, Aug 24, 2011 at 10:39 AM, Anders Viklund <vikl...@gmail.com> wrote:
I see no errors in std output but it can't find the pages..

firefox Web developer indicates that something is wrong


Anders Viklund

unread,
Aug 25, 2011, 11:46:15 AM8/25/11
to Groovy++
Indeed, I removed g++ and I am still facing the same problem.

I have another grails application, very similar to this except that
its not using g++ and its working fine.

Perhaps you have any ideas how to increase trace level, currently I
see no errors in the logs.

Anders Viklund

unread,
Aug 27, 2011, 3:19:06 PM8/27/11
to Groovy++
For anyone interested,

g++ had nothing to do with the "Moved Temporarily" problem.

There was a bug in my code that created a re-direction loop.

Alex Tkachman

unread,
Aug 27, 2011, 3:28:44 PM8/27/11
to groovyp...@googlegroups.com
Thanks a lot for update. 
How is the rest of your experience with g++?
Reply all
Reply to author
Forward
0 new messages