bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
194 stars 92 forks source link

Springboot Multiple Module App: assetPipelineDevFilter is registered but cannot access to assets #216

Open acrive82 opened 6 years ago

acrive82 commented 6 years ago

I have a gradle multimodule project, configured in this way

application/
├── core/
│   └── Application.groovy
├── api/
├── web/

Inside build.gradle of application:

    compile project(':api')
    compile project(':web')

The asset-pipeline plugin is imported in :web module. I found the tasks and the compile my sass (with optional sass-compiler module)

Inside the Application.groovy I've setted @ComponentScan(['it.geny.myapp','asset.pipeline.springboot'])

Seems all ok... But when I reference to my css I have a 404.

What I wrong?

ekalabs commented 5 years ago

I know this was reported a while back. I am facing the same issue post upgrading the asset-pipeline library (2.x to 3.x) in multi-project module but in Java. It used to work fine in 2.x. Were you able to find the root cause?