changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Installing Grails plugin results in strange errors #464

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create application
2. grails create-app wro4j-demo
3. grails install-plugin 
http://wro4j.googlecode.com/files/grails-wro4j-1.4.0.zip
4. Create wro.groovy
5. Modify config.groovy
6. Modify layout or view to use resources
7. grails run-app

( Basically just follow these instructions 
https://code.google.com/p/wro4j/wiki/GrailsPlugin )

What is the expected output? What do you see instead?
Expect server to start and resources to be handled

Server crashes with following output:
➜  wro4j-demo  grails run-app
| Loading Grails 2.0.4
| Error WARNING: Dependencies cannot be resolved for plugin [wro4j] due to 
error: ivy pattern must be absolute: 
C:/jde/software/maven-repository/repository//[organisation]/[module]/[revision]/
[module]-[revision](-[classifier]).pom (Use --stacktrace to see the full trace)
| Compiling 44 source files

| Compiling 44 source files.
| Error Compilation error: startup failed:
/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/grails-app/
conf/DefaultWroConfig.groovy: 41: unable to resolve class 
CssUrlRewritingProcessor 
 @ line 41, column 5.
       new CssUrlRewritingProcessor(),
       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/grails-app/
conf/DefaultWroConfig.groovy: 42: unable to resolve class CssImportPreProcessor 
 @ line 42, column 5.
       new CssImportPreProcessor(),
       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/grails-app/
conf/DefaultWroConfig.groovy: 43: unable to resolve class 
SemicolonAppenderPreProcessor 
 @ line 43, column 5.
       new SemicolonAppenderPreProcessor(),
       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/grails-app/
conf/DefaultWroConfig.groovy: 44: unable to resolve class JSMinProcessor 
 @ line 44, column 5.
       new JSMinProcessor(),
       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/grails-app/
conf/DefaultWroConfig.groovy: 45: unable to resolve class 
JawrCssMinifierProcessor 
 @ line 45, column 5.
       new JawrCssMinifierProcessor(),
       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/grails-app/
conf/DefaultWroConfig.groovy: 50: unable to resolve class CssVariablesProcessor 
 @ line 50, column 5.
       new CssVariablesProcessor(),
       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 23: unable to resolve class 
ro.isdc.wro.model.factory.WroModelFactory
 @ line 23, column 1.
   import ro.isdc.wro.model.factory.WroModelFactory
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 19: unable to resolve class 
ro.isdc.wro.extensions.model.factory.GroovyModelFactory
 @ line 19, column 1.
   import ro.isdc.wro.extensions.model.factory.GroovyModelFactory
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 24: unable to resolve class 
ro.isdc.wro.model.resource.processor.factory.ProcessorsFactory
 @ line 24, column 1.
   import ro.isdc.wro.model.resource.processor.factory.ProcessorsFactory
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 21: unable to resolve class 
ro.isdc.wro.manager.factory.BaseWroManagerFactory
 @ line 21, column 1.
   import ro.isdc.wro.manager.factory.BaseWroManagerFactory
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 20: unable to resolve class 
ro.isdc.wro.extensions.model.factory.GroovyModelParser
 @ line 20, column 1.
   import ro.isdc.wro.extensions.model.factory.GroovyModelParser
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 22: unable to resolve class 
ro.isdc.wro.model.WroModel
 @ line 22, column 1.
   import ro.isdc.wro.model.WroModel
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 25: unable to resolve class 
ro.isdc.wro.model.resource.processor.factory.SimpleProcessorsFactory
 @ line 25, column 1.
   import ro.isdc.wro.model.resource.processor.factory.SimpleProcessorsFactory
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 37: unable to resolve class 
ro.isdc.wro.manager.factory.BaseWroManagerFactory 
 @ line 37, column 1.
   class GrailsWroManagerFactory extends BaseWroManagerFactory {
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 40: unable to resolve class 
ro.isdc.wro.model.factory.WroModelFactory 
 @ line 40, column 3.
     @Override
     ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 50: unable to resolve class 
ro.isdc.wro.model.resource.processor.factory.ProcessorsFactory 
 @ line 50, column 3.
     protected ProcessorsFactory newProcessorsFactory() {
     ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 42: unable to resolve class 
ro.isdc.wro.extensions.model.factory.GroovyModelFactory 
 @ line 42, column 37.
       return new GroovyModelFactory() {
                                       ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 44: unable to resolve class 
ro.isdc.wro.model.WroModel 
 @ line 44, column 7.
         WroModel create() {
         ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/GrailsWroManagerFactory.groovy: 59: unable to resolve class 
ro.isdc.wro.model.resource.processor.factory.SimpleProcessorsFactory 
 @ line 59, column 1.
   final class GrailsProcessorsFactory extends SimpleProcessorsFactory {
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/ReloadableWroFilter.groovy: 18: unable to resolve class 
ro.isdc.wro.http.ConfigurableWroFilter
 @ line 18, column 1.
   import ro.isdc.wro.http.ConfigurableWroFilter
   ^

/Users/achew22/.grails/2.0.4/projects/wro4j-demo/plugins/wro4j-1.4.0/src/groovy/
wro4j/grails/plugin/ReloadableWroFilter.groovy: 26: unable to resolve class 
ro.isdc.wro.http.ConfigurableWroFilter 
 @ line 26, column 1.
   class ReloadableWroFilter extends ConfigurableWroFilter {
   ^

21 errors

Project attached

What version of the product are you using? On what operating system?

Grails 2.0.4
Wro4j 1.4.0

Original issue reported on code.google.com by ache...@gmail.com on 14 Jun 2012 at 7:28

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, but I cannot reproduce this problem.

Original comment by candrews...@gmail.com on 17 Apr 2013 at 12:57

GoogleCodeExporter commented 9 years ago
Closing the issue with INVALID resolution. 
Feel free to reopen the issue if you have more details which can be used to 
reproduce the problem.

Original comment by alex.obj...@gmail.com on 17 Apr 2013 at 7:52