Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33502 - [grails] 2.2.0-1 fails on dependencies on "run-app"
Attached to Project:
Community Packages
Opened by Joe (joefromct) - Tuesday, 22 January 2013, 00:07 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 26 January 2013, 23:10 GMT
Opened by Joe (joefromct) - Tuesday, 22 January 2013, 00:07 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 26 January 2013, 23:10 GMT
|
DetailsPackage Name: grails 2.2.0-1
https://www.archlinux.org/packages/community/any/grails/ Although the package installs with no issues, using the package seems to have issues with the grails create-app and run-app. I have tested a groovy app to ensure the issue is not there, and can reproduce the error in both Grails and Eclipse. I had no issues in Grails version 1.8.x (from Spring Tools Suite). I couldn't find anything pertaining specifically to this on the Grails Jira site also, and IRC chats indicated other arch users were having a problem (although i believe this is the first bug report.) [yeoj@localhost workspace]$ grails create-app test | Created Grails Application at /home/yeoj/workspace/test [yeoj@localhost workspace]$ cd test [yeoj@localhost test]$ grails run-app | Compiling 114 source files | Compiling 114 source files. | Error Compilation error: startup failed: /home/yeoj/.grails/2.2.0/projects/test/plugins/database-migration-1.2.1/src/groovy/grails/plugin/databasemigration/DslBuilder.groovy: 52: unable to resolve class liquibase.util.StringUtils @ line 52, column 1. import liquibase.util.StringUtils ^ .....clip...... (386 more errors, see attachment.) Because the issue is in the liquidbase area, i attempted to remove the dependency for database-migration:1.2.1 in the conf/BuildConfig.groovy file. After doing this, i no longer recieve the issue on liquidbase imports but instead recieve the error below: [yeoj@localhost test]$ grails run-app | Uninstalled plugin [database-migration] | Compiling 36 source files. | Error Fatal error during compilation java.lang.NoClassDefFoundError: org/hibernate/proxy/HibernateProxy (Use --stacktrace to see the full trace) Let me know if i can provide any help, -Joe Additional System Information: [yeoj@localhost test]$ java -version; javac -version; java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.4) (ArchLinux build 7.u9_2.3.4-1-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode) javac 1.7.0_09 [yeoj@localhost test]$ groovy -version Groovy Version: 2.0.6 JVM: 1.7.0_09 Vendor: Oracle Corporation OS: Linux [yeoj@localhost test]$ grails -version Grails version: 2.2.0 [yeoj@localhost test]$ pacman -Ss grails community/grails 2.2.0-1 [installed] Groovy on rails, web framework [yeoj@localhost test]$ [yeoj@localhost test]$ uname -a Linux localhost 3.6.11-1-ARCH #1 SMP PREEMPT Tue Dec 18 08:57:15 CET 2012 x86_64 GNU/Linux [yeoj@localhost test]$ |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Saturday, 26 January 2013, 23:10 GMT
Reason for closing: Fixed
Saturday, 26 January 2013, 23:10 GMT
Reason for closing: Fixed
/usr/share/grails/lib/org.liquibase/liquibase-core/ivy-2.0.5.xml
/usr/share/grails/lib/org.liquibase/liquibase-core/jars/liquibase-core-2.0.5.jar
Don't know why grails can't find them and/or if these are the files it's looking for, though. Will investigate further.
After copying the liquidbase jar file to the "lib" directory of the test-project and running "grails clean; grails run-app", it complained about not finding hibernate instead.
I'll see if I can find the right place to configure grails. I'm also running strace to see where it actually searches for the files.
Hopefully, the next release of grails, 2.3.0, will have resolved this issue. (About 2.3.0: http://grails.org/news/1286064)
Marking bug as upstream. I'll test if this is fixed for a snapshot build of 2.3.0.
% grails run-app
| Configuring classpath
| Error Could not find artifact org.grails:grails-plugin-hibernate:jar:2.3.0.BUILD-SNAPSHOT in grailsCentral (http://repo.grails.org/grails/plugins)
| Run 'grails dependency-report' for further information.
grails dependency-report: http://ix.io/47G
Please report the bug upstream to the Grails developers and include the url to the bug report here: http://grails.org/doc/latest/ref/Command%20Line/bug-report.html
Thank you.
http://jira.grails.org/browse/GRAILS-9311
http://jira.grails.org/browse/GRAILS-9431
The updated package will appear in [community] shortly.